SingleValueSlider API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
SingleValueSlider10 props3 callbacks0 methods
Props10
| Name | Type | Description |
|---|---|---|
minRequired | number | Minimum permitted value or lower bound for the control. |
maxRequired | number | Maximum permitted value or upper bound for the control. |
valueRequired | number | Value to display or edit. The declared type identifies the supported representation; change callbacks describe how edited values are emitted. |
stepOptional | string | number | undefined | Increment used for value changes. Use a value compatible with the control type. |
disabledOptional | boolean | undefined | Disables user interaction with the control. |
idOptional | string | undefined | Identifier used to associate the control with labels, popup content or other elements. |
classNameOptional | string | undefined | Additional CSS classes applied to the component root. |
ariaLabelRequired | string | Accessible name announced by assistive technology. |
ariaValueTextOptional | string | undefined | Human-readable equivalent of the numeric value for assistive technology. |
ariaDescribedByOptional | string | undefined | Space-separated IDs of elements that describe this control. |
Events and callbacks3
| Name | Type | Description |
|---|---|---|
onChangeRequired |
| Receives the new value when the user changes the control. Update the corresponding value prop for controlled use. |
onCommitOptional |
| Called when an editing gesture commits its value, rather than on every intermediate change. |
onKeyDownOptional |
| Handles keyboard input; receives the keyboard event and any item/date context shown in the signature. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.