value


numbernumber | Array<number>

Sets or gets the value(s) of a range slider's handle(s).

The value of a range slider refers to the currently selected value(s) of the range slider represented by the handle(s).
The value can be one of 2 types:

  • Number: Use a number to set the selected value of a single-handle range slider. The selected value is bound by the min and the max limits of the range slider.
  • Array of Numbers: Use an array of 2 numbers, a minimum and maximum value, to set the selected values of a 2-handle range slider. The selected values are bound by the min and the max limits of the range slider.
Did this help?