setValue()
sets the value for a Slider control
setValue(value: number | number[]): void;
Parameters:
value: number | number[]
- the value to be set
Example
form.getItem("slider").setValue([2]);
// or
form.getItem("slider").setValue([2,10]);
sets the value for a Slider control
value: number | number[]
- the value to be setExample
form.getItem("slider").setValue([2]);
// or
form.getItem("slider").setValue([2,10]);