docs: update
This commit is contained in:
parent
66592fc68b
commit
ddd94d377c
7 changed files with 14 additions and 14 deletions
|
|
@ -31,7 +31,7 @@ class CanvasWidget extends Canvas {
|
|||
defaults.scripting = {
|
||||
onCreate: {type: 'script', value: '', editor: 'javascript', help: ['Script executed when the widget is created. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>.']},
|
||||
onValue: {type: 'script', value: '', editor: 'javascript', help: ['Script executed whenever the widget\'s value updates. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>.']},
|
||||
onTouch: {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched. See <a href="https://openstagecontrol.ammd.net/docs/widgets/canvas/">documentation</a>.',]},
|
||||
onTouch: {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched and released, and when the pointer moves when the widget is touched. See <a href="https://openstagecontrol.ammd.net/docs/widgets/canvas/">documentation</a>.',]},
|
||||
onDraw: {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is redrawn. See <a href="https://openstagecontrol.ammd.net/docs/widgets/canvas/">documentation</a>.']},
|
||||
}
|
||||
return defaults
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ module.exports = class MultiXy extends Pad {
|
|||
}
|
||||
})
|
||||
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched. See <a href="https://openstagecontrol.ammd.net/docs/widgets/canvas/">documentation</a>.',]}
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched and released. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>.',]}
|
||||
|
||||
return defaults
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ module.exports = class Rgb extends Widget {
|
|||
}
|
||||
})
|
||||
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched. See <a href="https://openstagecontrol.ammd.net/docs/widgets/canvas/">documentation</a>.',]}
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched and released. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>.',]}
|
||||
|
||||
return defaults
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ module.exports = class Xy extends Pad {
|
|||
}
|
||||
})
|
||||
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched. See <a href="https://openstagecontrol.ammd.net/docs/widgets/canvas/">documentation</a>.',]}
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched and released. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>.',]}
|
||||
|
||||
return defaults
|
||||
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ class Fader extends Slider {
|
|||
}
|
||||
})
|
||||
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched. See <a href="https://openstagecontrol.ammd.net/docs/widgets/canvas/">documentation</a>.',]}
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched and released. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>.',]}
|
||||
|
||||
return defaults
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ module.exports = class Knob extends Slider {
|
|||
}
|
||||
})
|
||||
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched. See <a href="https://openstagecontrol.ammd.net/docs/widgets/canvas/">documentation</a>.',]}
|
||||
defaults.scripting.onTouch = {type: 'script', value: '', editor:'javascript', help: ['Script executed when the widget is touched and released. See <a href="https://openstagecontrol.ammd.net/docs/widgets/scripting/">documentation</a>.',]}
|
||||
|
||||
return defaults
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue