Skip to content

Commit

Permalink
remove multiple parametertype documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jadeddelta committed Nov 30, 2024
1 parent cd7821d commit a738531
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions docs/developers/plugin-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,23 +250,6 @@ const info = {
}
```
For more complicated scenarios, typically when handling data generated from an arbitrary function or user input, where we have a general idea of what data type it could produce, we may also specify multiple types of data. As an example, if we know we'll get either some number (integer or float) or a string from a field, we can specify it as such:

```js
const info = {
// ...
data: {
/** The response given by the user. */
response: {
type:
ParameterType.INT |
ParameterType.FLOAT |
ParameterType.STRING
}
}
}
```

## Plugin functionality
Inside the `.trial()` method you can do pretty much anything that you want, including modifying the DOM, setting up event listeners, and making asynchronous requests. In this section we'll highlight a few common things that you might want to do as examples.
Expand Down

0 comments on commit a738531

Please sign in to comment.