svghmi/widget_tooglebutton.ysl2
changeset 3599 0d7c41546854
parent 3596 9c725829d8f0
equal deleted inserted replaced
3598:13677d093946 3599:0d7c41546854
    20         frequency = 5;
    20         frequency = 5;
    21         active_style = undefined;
    21         active_style = undefined;
    22         inactive_style = undefined;
    22         inactive_style = undefined;
    23 
    23 
    24         dispatch(value) {
    24         dispatch(value) {
    25             this.actvity_state = Boolean(value);
    25             this.activity_state = Boolean(value);
    26             //redraw toggle button
    26             //redraw toggle button
    27             this.request_animate();
    27             this.request_animate();
    28         }
    28         }
    29 
    29 
    30         on_click(evt) {
    30         on_click(evt) {