docs: formula split option & note about zero based arrays
This commit is contained in:
parent
0381e0aade
commit
540beabdc2
1 changed files with 9 additions and 2 deletions
|
|
@ -20,5 +20,12 @@ Formula evaluates mathematical expressions over other widgets' values each one o
|
|||
- type: `string`
|
||||
- default: `''`
|
||||
- usage: a [mathjs](http://mathjs.org/docs/expressions/syntax.html) expression in which
|
||||
- `${id}` will be replaced the `id`'s value
|
||||
- example: `${fader_1} * 2 + ${fader_2}`
|
||||
- `${id}` will be replaced the `id`'s value
|
||||
- example: `${fader_1} * 2 + ${fader_2}`
|
||||
- **important note**: contrary to what is stated in *mathjs*' documentation, **matrix indexes are zero-based** here
|
||||
|
||||
#### `split`
|
||||
- type: `object`
|
||||
- default: `[]`
|
||||
- usage: specify a different `address` for each item of the widget's value : `['/a', '/b']`
|
||||
- note: only use this is the formula return an `array`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue