Range slider » Minimum, maximum, and current values
Minimum, maximum, and current values
A range slider’s default minimum value (min
) is 0
, and the max
is 1
.
The position of the left knob will set the slider’s current minValue
(0
by default), and the right knob its maxValue
(default: 0.5
).
The min
value will always be the left side of the slider (or top when it’s a vertical slider), but it’s entirely possible to give min
a higher value than max
. To flip them around, in other words, which is often a more straightforward solution than rotating the slider.
Keep in mind that max
must be higher than 0
. But you can give it at a very low value, like, e.g., 0.001
.