defines segments of a segmented button
webix.ui({
view:"segmented",
value:"one",
options:[
{ "id":"one", "value":"One" },
{ "id":"two", "value":"Two" },
{ "id":"three", "value":"Three" }
]
})
The property expects an array of either strings or objects, each of which presents a select option on a toolbar.
The objects in the array can have 3 attributes:
Note that the getValue method returns the ID of the selected option.