Skip to content

Commit a738531

Browse files
committed
remove multiple parametertype documentation
1 parent cd7821d commit a738531

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

docs/developers/plugin-development.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -250,23 +250,6 @@ const info = {
250250
}
251251
```
252252
253-
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:
254-
255-
```js
256-
const info = {
257-
// ...
258-
data: {
259-
/** The response given by the user. */
260-
response: {
261-
type:
262-
ParameterType.INT |
263-
ParameterType.FLOAT |
264-
ParameterType.STRING
265-
}
266-
}
267-
}
268-
```
269-
270253
## Plugin functionality
271254
272255
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.

0 commit comments

Comments
 (0)