Search.../

max

Sets or gets the maximum value of a range slider.

Description

Note that the max is the upper limit of the range slider, and not the maximum handle value.

Type:

numberRead & Write, default value is '100'

Was this helpful?

Get a range slider's maximum value

Copy Code
1let rangeSliderMax = $w('#myRangeSlider').max; // 100
Set a range slider's maximum value

Copy Code
1$w('#myRangeSlider').max = 100;