returns the current value of the control
string | the current value of the control |
webix.ui({
view:"segmented", id: "segment",
value:"one",
options:[
{ id:"one", value:"One" },
{ id:"two", value:"Two"},
{ id:"three", value:"Three"}
]
});
$$("segment").getValue(); // returns "one"
The returned value of the control may be: