doc: script var id & value
This commit is contained in:
parent
bd34ff0fb0
commit
187e35d766
1 changed files with 4 additions and 0 deletions
|
|
@ -6,6 +6,10 @@ The `script` property allows widgets to run javascript code when their value upd
|
|||
|
||||
## Available variables
|
||||
|
||||
#### `value`: widget's value
|
||||
|
||||
#### `id`: id of the widget that's reponsible for the value update
|
||||
|
||||
#### `get`: `function(id)`
|
||||
|
||||
Returns the value of the first widget whose id is `"id"`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue