usveticic@3064: // widget_customhtml.ysl2 dgaberscek@2944: usveticic@3064: template "widget[@type='CustomHtml']", mode="widget_class"{ usveticic@3009: || usveticic@3064: class CustomHtmlWidget extends Widget{ usveticic@3009: frequency = 5; usveticic@3064: widget_size = undefined; usveticic@3009: usveticic@3056: dispatch(value) { usveticic@3059: this.request_animate(); usveticic@3056: } usveticic@3056: usveticic@3059: animate(){ usveticic@3059: } usveticic@3009: usveticic@3059: init() { usveticic@3064: this.widget_size = this.container_elt.getBBox(); usveticic@3064: this.element.innerHTML =' '+ usveticic@3064: this.code_elt.textContent+ usveticic@3064: ' '; usveticic@3059: } usveticic@3009: } usveticic@3009: || Edouard@3024: } usveticic@3009: usveticic@3009: usveticic@3064: template "widget[@type='CustomHtml']", mode="widget_defs" { dgaberscek@2976: param "hmi_element"; usveticic@3064: labels("container code"); usveticic@3009: |, edouard@3000: }