Search.../

step

Sets or gets a slider's step value.

Description

The step property along with the stepType determes the size of each slider step and how many step units the slider is divided into.

Type:

numberRead & Write, default value is 0.1

Was this helpful?

Get a slider's step value

Copy Code
1let sliderStep = $w("#mySlider").step; // 5
Set a slider's step value

Copy Code
1$w("#mySlider").step = 5;