The StringItemList component allows to specify a list of string values, where each item can be selected from a predefined list.
Use the buttons and combo boxes to edit the entries of the list:
./src/components/list/treezStringItemList.js
./test/components/list/treezStringItemList.test.js
./demo/components/list/treezStringItemListDemo.html
...
sectionContent.append('treez-string-item-list')
.label('String item list:')
.attr('options','["a","b","c","d"]')
.value('["a","b","c"]')
.bindValue(this, () => this.modeList);
...
The array of available string values/items, e.g. ['a','b','c','d'].
The array of specified string values/items, e.g. ['a','b','c'].
Also see the attributes that are inherited from LabeledTreezElement.
A string that can be evaluated to an array of strings and represents the available values/items, e.g. '["a","b","c","d"]'
A string that can be evaluated to an array of strings and represents the selected values/items, e.g. '["a","b","c"]'
Also see the attributes that are inherited from LabeledTreezElement.