doc: range's split prop

This commit is contained in:
jean-emmanuel 2017-12-17 19:47:22 +01:00
parent bf028db975
commit 0ae2d5c7aa

View file

@ -257,3 +257,11 @@ A range is a fader with two handles.
// etc
}
```
### `split`
- type: `boolean|object`
- default: `false`
- usage:
- set to `true` to send separate osc messages for `low` and `high` handles. The `address` will be the same as the widget's with `/low` or `/high` appended to it
- can be set as an object to specify a different `address` : `['/osc_address_low', '/osc_address_high']`
- note: the widget will only respond to its original osc address, not to the splitted version