svghmi/widget_switch.ysl2
changeset 3516 d3cf85a3c282
parent 3513 7d4a16e59337
child 3518 c663d1f9f03b
equal deleted inserted replaced
3515:b90a0acc8c4e 3516:d3cf85a3c282
    24     ||
    24     ||
    25         frequency = 5;
    25         frequency = 5;
    26         current_value = undefined;
    26         current_value = undefined;
    27 
    27 
    28         init(){
    28         init(){
    29             animate();
    29             this.animate();
    30         }
    30         }
    31 
    31 
    32         dispatch(value) {
    32         dispatch(value) {
    33             this.current_value = value;
    33             this.current_value = value;
    34             this.request_animate();
    34             this.request_animate();