Expand description
A native range input with a filled track and visible value, from slider.css. The fill
is a port of upstream’s slider.ts.
Re-exports§
pub use Slider_completions::Component::Slider;
Structs§
- Slider
Props - Properties for the
Slidercomponent.
Functions§
- Slider
- A native
<input type="range">, which already has the whole keyboard contract and announces its own value. The visible<output>is not a live region, so a step is never announced twice. - slider_
percent - The share of the range
valuecovers, as upstream’ssliderPercentcomputes it: a degenerate range is drawn empty rather than dividing by zero.