diff -r 27dd409fba1d -r d57a12b8f5db svghmi/gen_index_xhtml.xslt
--- a/svghmi/gen_index_xhtml.xslt Mon Mar 23 10:16:38 2020 +0100
+++ b/svghmi/gen_index_xhtml.xslt Mon Mar 23 15:13:36 2020 +0100
@@ -74,6 +74,49 @@
+
+
+
+
+ get_hmi_tree_elt
+
+
+
+
+ Given path "
+
+ " should start with a "/"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -600,9 +643,9 @@
- /*
-
- */
+ /*
+
+ */
,
@@ -711,36 +754,62 @@
},
+ index_pool: [
+
+ ],
+
+ buttons: [
+
+
+
+
+
+ ["
+
+ ", id("
+
+ ")]
+
+ ,
+
+
+
+
+ ],
+
init: function() {
-
- id("
-
- ").addEventListener(
-
- "click",
-
- evt => {let new_val = "
-
- ");
-
- // do something with new_val
-
- });
-
-
+ /* TODO elt.setAttribute("onclick", "hmi_widgets['
+
+ '].on_click(evt)");*/
+
},
- widgets: [
-
-
-
+ items: [
+
+
+
+
+
+
+
+ /*
+
+ */
+
[ /*
-
+
*/
-
-
+
+
+ Missing item labeled
+
+ in ForEach widget
+
+
+
+
hmi_widgets["
"]
@@ -763,13 +832,13 @@
sub: function(off){
- subscribe.call(this,off)
+ subscribe.call(this,off);
},
unsub: function(){
- unsubscribe.call(this)
+ unsubscribe.call(this);
},