scripting: add updateCanvas() function (forces a canvas widget to redraw
This commit is contained in:
parent
2ab69d29fb
commit
0b2fb7ea4a
3 changed files with 24 additions and 1 deletions
|
|
@ -207,6 +207,13 @@ Forces a widget to check if one of its properties has changed and update itself
|
|||
|
||||
----
|
||||
|
||||
#### `updateCanvas(id)`
|
||||
- `id`: widget `id` as a string. Can be `"this"` to target the host widget.
|
||||
|
||||
Forces a canvas widget redraw.
|
||||
|
||||
----
|
||||
|
||||
#### `httpGet(url, callback)`
|
||||
|
||||
- `url`: url of the resource to fetch (local url only)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue