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