scripting: stateSet: add optional {send: false} flag
This commit is contained in:
parent
2c97ac662c
commit
a6237a0aac
3 changed files with 11 additions and 3 deletions
|
|
@ -233,10 +233,13 @@ Returns a state object (`id:value`) for matching widget and all their children.
|
|||
|
||||
----
|
||||
|
||||
#### `stateSet(state)`
|
||||
#### `stateSet(state, options)`
|
||||
|
||||
Loads a state object. If the event that triggered the script's execution was initiated by a user interaction, this will make the updated widgets send their value as well.
|
||||
|
||||
- `options` (optional): `object`, accepts the following items:
|
||||
- `send: false`: prevents widgets from sending osc messages
|
||||
|
||||
----
|
||||
|
||||
#### `storage`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue