1681-engine / react / SliderProps
Interface: SliderProps ​
Defined in: src/react/Slider.tsx:5
Properties ​
className? ​
ts
optional className?: string;Defined in: src/react/Slider.tsx:18
disabled? ​
ts
optional disabled?: boolean;Defined in: src/react/Slider.tsx:17
format? ​
ts
optional format?: (value) => string;Defined in: src/react/Slider.tsx:14
What the value reads as, for the screen reader and the number beside the track (default: a percentage).
Parameters ​
| Parameter | Type |
|---|---|
value | number |
Returns ​
string
hideValue? ​
ts
optional hideValue?: boolean;Defined in: src/react/Slider.tsx:16
Hides the number beside the track.
label ​
ts
label: string;Defined in: src/react/Slider.tsx:9
Spoken name (aria-label).
max? ​
ts
optional max?: number;Defined in: src/react/Slider.tsx:11
min? ​
ts
optional min?: number;Defined in: src/react/Slider.tsx:10
onChange ​
ts
onChange: (value) => void;Defined in: src/react/Slider.tsx:7
Parameters ​
| Parameter | Type |
|---|---|
value | number |
Returns ​
void
step? ​
ts
optional step?: number;Defined in: src/react/Slider.tsx:12
value ​
ts
value: number;Defined in: src/react/Slider.tsx:6