svghmi/widget_multistate.ysl2
branchwxPython4
changeset 3580 0c96269bf63b
parent 3577 6c7a7b22bec9
equal deleted inserted replaced
3575:cbf99c4122bd 3580:0c96269bf63b
    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;