From a628663ae188c690e90c61461e5ec7f5ab72db7c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Sun, 22 May 2022 15:21:05 +0200 Subject: [PATCH] docs: update --- resources/docs/docs/widgets/properties-reference.md | 1 + scripts/client-shim.js | 1 + 2 files changed, 2 insertions(+) diff --git a/resources/docs/docs/widgets/properties-reference.md b/resources/docs/docs/widgets/properties-reference.md index a480aa22..5da7aa37 100644 --- a/resources/docs/docs/widgets/properties-reference.md +++ b/resources/docs/docs/widgets/properties-reference.md @@ -775,6 +775,7 @@ |
onValue#
| `script` | "" | Script executed whenever the widget's value updates. See documentation. | |
onTouch#
| `script` | "" | Script executed when the widget is touched and released, and when the pointer moves when the widget is touched. See documentation. | |
onDraw#
| `script` | "" | Script executed when the widget is redrawn. See documentation. | + |
onResize#
| `script` | "" | Script executed when the widget is resized. See documentation. | ## Sliders ??? api "
fader#
" diff --git a/scripts/client-shim.js b/scripts/client-shim.js index 77c106d9..facf547a 100644 --- a/scripts/client-shim.js +++ b/scripts/client-shim.js @@ -56,6 +56,7 @@ window = { screen: {width: 800, height: 600}, addEventListener: ()=>{}, location: {}, + Image: Function, document: document, navigator: { platform:'',