Additional Methods with Scheduler
Last updated
const definition = {
method: 'reset', // if omitted, `reset` is the default, may also be `delete` or `merge`
variables: {
'Home Score': {
type: 'text',
},
'Visitor Score': {
type: 'text',
},
'Shot Clock': {
type: 'text',
pattern: '[0-2][0-9].[0-9]',
},
'Period Number': {
type: 'text',
values: ['1', '2', '2.5', '3', '4', '5'], // 2.5 = halftime, 5 = OT
},
},
};
ServiceHandler.scheduler.updateInputDefinition('Simple HTML Scoreboard', definition);