Skip to main content

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]);// orform.getItem("slider").setValue([2,10]);