getValue

returns the current value of the control

string getValue();

Returns

stringthe current value of the control

Example

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"

Details

The returned value of the control may be:

See also
Back to top