Skip to main content

Slider

Function Slider 

Source
pub fn Slider(_: SliderProps) -> Element
Expand description

A value picked from a range.

The position a drag is passing through stays in the Renderer, so following a finger costs no boundary call, and value seeds that position and moves it when the change came from elsewhere. steps is the number of stops between the two ends; zero leaves the slider continuous.

ยงProps

For details, see the props struct definition.