svghmi/widgets_common.ysl2
branchsvghmi
changeset 2941 ef13a4007538
parent 2937 9226a830fbc3
child 2948 faaf677ea99d
--- a/svghmi/widgets_common.ysl2	Sun Apr 19 10:48:34 2020 +0200
+++ b/svghmi/widgets_common.ysl2	Sun Apr 19 22:01:12 2020 +0200
@@ -49,6 +49,12 @@
     |   }`if "position()!=last()" > ,`
 }
 
+emit "preamble:hmi-elements" {
+    | var hmi_widgets = {
+    apply "$hmi_elements", mode="hmi_elements";
+    | }
+}
+
 // default : normal subscribing
 template "widget", mode="widget_subscribe" {
     |     sub: subscribe,