scripting: add updateCanvas() function (forces a canvas widget to redraw

This commit is contained in:
bordun 2022-08-29 15:51:28 +02:00
parent 2ab69d29fb
commit 0b2fb7ea4a
3 changed files with 24 additions and 1 deletions

View file

@ -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)