Search...
step
Sets or gets a range slider's step value.
Description
Note: This property is only relevant when the
sliderType
is set to 'Stepped'.
The stepped range slider is divided into specific steps within a set range. The
handles of the slider move along the tick marks displaying each step value. The step value
represents either the size of each step, or the number of steps within the slider's set range. Use the
stepType
to set the type of step that defines the step value.
Type:
numberRead & Write, default value is 0.1
Was this helpful?
Get a range slider's step value
Copy Code
1let rangeSliderStep = $w('#myRangeSlider').step; // 10
Set a range slider's step value
Copy Code
1$w('#myRangeSlider').step = 10;