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:'',