script: add updateProp() to force prop check on a widget
This commit is contained in:
parent
fab0ed0eab
commit
0e5edb76de
2 changed files with 24 additions and 1 deletions
|
|
@ -64,6 +64,14 @@ Returns the property called `"name"` of the first matching widget.
|
|||
|
||||
----
|
||||
|
||||
#### `updateProp`: `function(id, name)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget, or `"parent"` to target the parent widget.
|
||||
- `name`: property name.
|
||||
|
||||
Forcers a widget to check if one of its properties has changed and update itself if needed.
|
||||
|
||||
----
|
||||
|
||||
#### `httpGet`: `function(url, callback)`
|
||||
|
||||
- `url`: url of the resource to fetch (local url only)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue