From 6e6c0adc56ee8fc3a7f58af4014b6d6f695fa5bd Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 12 Jan 2022 16:02:19 +0100 Subject: [PATCH] canvas: props order --- src/client/widgets/pads/canvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/widgets/pads/canvas.js b/src/client/widgets/pads/canvas.js index d7bb9606..2d3706d7 100644 --- a/src/client/widgets/pads/canvas.js +++ b/src/client/widgets/pads/canvas.js @@ -30,9 +30,9 @@ class CanvasWidget extends Canvas { }) defaults.scripting = { onCreate: {type: 'script', value: '', editor: 'javascript', help: ['Script executed when the widget is created. See documentation.']}, + onValue: {type: 'script', value: '', editor: 'javascript', help: ['Script executed whenever the widget\'s value updates. See documentation.']}, onTouch: {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched. See documentation.',]}, onDraw: {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is redrawn. See documentation.']}, - onValue: {type: 'script', value: '', editor: 'javascript', help: ['Script executed whenever the widget\'s value updates. See documentation.']}, } return defaults