Slider

Register on Lenra

Element of type Slider

AttributeDescriptionType
typeThe identifier of the componentstring ("slider")
autofocusWhether the slider should be focused initially.boolean
divisionsThe number of divisions to show on the slider.number
labelThe label of the slider.string
maxThe maximum value of the slider.number (1)
minThe minimum value of the slider.number
onChangedThe callback to be invoked when the slider value changes.Basic Listener
onChangeEndThe callback to be invoked when the slider is released.Basic Listener
onChangeStartThe callback to be invoked when the slider is pressed.Basic Listener
styleElement of type SliderStyleSliderStyle
valueThe current value of the slider.number