1681-engine / react / Slider
Function: Slider() ​
ts
function Slider(__namedParameters): Element;Defined in: src/react/Slider.tsx:44
A slider drawn by the theme instead of the browser's range: a sunk track, a fill and a square knob. Dragging, pressing anywhere on the track and the arrow / Page / Home / End keys move it; it is a role="slider" with its aria values, so it reads like the native range it replaces. Focused, it keeps the arrow keys from the game.
Parameters ​
| Parameter | Type |
|---|---|
__namedParameters | SliderProps |
Returns ​
Element