setValue

sets a new value for the component

void setValue(string|number value);

Parameters

valuestring|numbera new value for the control

Example

webix.ui({
    view:"slider", id: "myslider",  
    label:"Price"
});
 
$$("myslider").setValue(50); // sets new value

See also
Back to top