getValue

returns the current value of the control

string getValue();

Returns

stringthe current value of the control

Example

webix.ui({
    view:"segmented", value:"one", options:[
            { id:"one", value:"One" },
            { id:"two", value:"Two"},
            { id:"three", value:"Three"}
        ]
});
...
$$(segmented1).getValue();
        //returns "one"

Details

The returned value of the control may be:

See also
Back to top