svghmi/widget_multistate.ysl2
changeset 3577 6c7a7b22bec9
parent 3241 fe945f1f48b7
equal deleted inserted replaced
3576:58c09e84c369 3577:6c7a7b22bec9
    34                     choice.elt.setAttribute("style", "display:none");
    34                     choice.elt.setAttribute("style", "display:none");
    35                 } else {
    35                 } else {
    36                     choice.elt.setAttribute("style", choice.style);
    36                     choice.elt.setAttribute("style", choice.style);
    37                 }
    37                 }
    38             }
    38             }
       
    39             // TODO : use RequestAnimate and animate()
    39         }
    40         }
    40 
    41 
    41         on_click(evt) {
    42         on_click(evt) {
    42             //get current selected value
    43             //get current selected value
    43             let next_ind;
    44             let next_ind;