docs: getting started ok, scripting missing clues

This commit is contained in:
bordun 2020-04-06 11:37:45 +02:00
parent def10d13f6
commit 9be22caa81
12 changed files with 326 additions and 365 deletions

View file

@ -99,7 +99,7 @@ class Widget extends EventEmitter {
'When prefixed with >>, the `linkId` will make the widget act as a master (sending but not receiving)',
'When prefixed with <<, the `linkId` will make the widget act as a slave (receiving but not sending)'
]},
script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s value is set. See https://openstagecontrol.ammd.net/v1/docs/widgets/scripting/'},
script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See <a href="https://openstagecontrol.ammd.net/v1/docs/widgets/scripting/">documentation</a>.'},
_osc: 'osc',

View file

@ -19,7 +19,7 @@ class Script extends Widget {
_script: 'script',
event: {type: 'string', value: 'value', choices: ['value', 'keyboard'], help: 'Define which events trigger the script\'s execution.'},
script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See https://openstagecontrol.ammd.net/v1/docs/widgets/scripting/'},
script: {type: 'script', value: '', help: 'Script executed whenever the widget\'s receives the defined event. See <a href="https://openstagecontrol.ammd.net/v1/docs/widgets/scripting/">documentation</a>.'},
_eventKey: 'event: keyboard',