5 return baseclass
.extend({
6 trigger
: _('Custom flash interval (kernel: timer)'),
7 description
: _('The LED blinks with the configured on/off frequency'),
9 addFormOptions: function(s
) {
12 o
= s
.option(form
.Value
, 'delayon', _('On-State Delay'),
13 _('How long (in milliseconds) the LED should be on')
16 o
.depends('trigger', 'timer');
18 o
= s
.option(form
.Value
, 'delayoff', _('Off-State Delay'),
19 _('How long (in milliseconds) the LED should be off')
22 o
.depends('trigger', 'timer');