svghmi/widget_button.ysl2
changeset 3419 76995a304fe0
parent 3417 9b9775d230f5
child 3520 b27e50143083
equal deleted inserted replaced
3418:a1d9a0353053 3419:76995a304fe0
   144 template "fsm", mode="actions" {
   144 template "fsm", mode="actions" {
   145     apply "state", mode="actions";
   145     apply "state", mode="actions";
   146 }
   146 }
   147 template "state", mode="actions" {
   147 template "state", mode="actions" {
   148     |     «@name»_action(){
   148     |     «@name»_action(){
   149     | console.log("Entering state «@name»");
   149     // | console.log("Entering state «@name»", this.frequency);
   150     apply "*", mode="actions";
   150     apply "*", mode="actions";
   151     |     }
   151     |     }
   152 }
   152 }
   153 template "show", mode="actions" {
   153 template "show", mode="actions" {
   154     |         this.display = "«@eltname»";
   154     |         this.display = "«@eltname»";