svghmi/widget_list.ysl2
author Edouard Tisserant <edouard.tisserant@gmail.com>
Mon, 17 Aug 2020 10:00:25 +0200
branchsvghmi
changeset 3029 61b0491fe05b
parent 3028 72ee99635db7
child 3031 440d74319a74
permissions -rw-r--r--
SVGHMI: Fix svg test file while testing latest JsonTableChanges
// widget_list.ysl2

template "widget[@type='List' or @type='TextStyleList']", mode="widget_defs" {
    param "hmi_element";
    |     items: {
    foreach "$hmi_element/*[@inkscape:label]" {
    |         «func:escape_quotes(@inkscape:label)»: "«@id»",
    }
    |     },
}