sets a new value for the component
value | string|array | a new value for the control |
webix.ui({
view:"rangeslider",
id: "myslider",
width:550,
label:"Price",
stringResult: true,
});
$$("myslider").setValue("10, 20"); // sets new range of 10-20
The second parameter can be of any type (from a string to an object). config will be passed to the onChange event as the last parameter.