diff -r 8a9d4c794cba -r fe945f1f48b7 svghmi/widget_customhtml.ysl2 --- a/svghmi/widget_customhtml.ysl2 Mon May 03 00:14:38 2021 +0200 +++ b/svghmi/widget_customhtml.ysl2 Tue May 18 09:22:17 2021 +0200 @@ -1,5 +1,19 @@ // widget_customhtml.ysl2 +widget_desc("CustomHtml") { + longdesc + || + CustomHtml widget allows insertion of HTML code in a svg:foreignObject. + Widget content is replaced by foreignObject. HTML code is obtained from + "code" labeled text content. HTML insert position and size is given with + "container" labeled element. + || + + shortdesc > Custom HTML insert + + // TODO: support reload and POST based on variable content +} + widget_class("CustomHtml"){ || frequency = 5; @@ -25,6 +39,5 @@ widget_defs("CustomHtml") { - param "hmi_element"; labels("container code"); }