doc: script var id & value

This commit is contained in:
bordun 2020-04-01 13:48:55 +02:00
parent eeca7d172a
commit b23d60bc02

View file

@ -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"`.