defines data items of the drop-down list
webix.ui({
view:"segmented", value:"one", options:[
{ id:"one", value:"One" },
{ id:"two", value:"Two"},
{ id:"three", value:"Three"}
]
})
The property is an array of objects, each of which presents a singular select option on a toolbar.
The objects in the array have 2 attributes:
Nore that the getValue() method returns the ID of selected option.
Back to top