diff -r 608f48ad3dfc -r ecefd38d5c7d svghmi/analyse_widget.xslt --- a/svghmi/analyse_widget.xslt Mon Nov 08 14:09:44 2021 +0100 +++ b/svghmi/analyse_widget.xslt Mon Nov 08 14:10:36 2021 +0100 @@ -471,7 +471,7 @@ - Documentation to be written. see svbghmi exemple. + Documentation to be written. see svghmi exemple. @@ -566,6 +566,37 @@ + + + + + + ListSwitch widget displays one item of an HMI:List depending on value of + + given variable. Main element of the widget must be a clone of the list or + + of an item of that list. + + + + Given variable's current value is compared to list items + + label. For exemple if given variable type + + is HMI_INT and value is 1, then item with label '1' will be displayed. + + If matching variable of type HMI_STRING, then no quotes are needed. + + For exemple, 'hello' match HMI_STRING 'hello'. + + + + Displays item of an HMI:List whose label matches value. + + + value to compare to labels + + @@ -687,7 +718,7 @@ - Show elements whose label match value. + Show elements whose label matches value. value to compare to labels