Slider API
API reference docs for theSlider
component. For examples and details on the usage of this component, visit the component demo page.
Props
Prop | Type | Description | Default |
---|---|---|---|
|
| Slot to render content after slider. | _ |
|
| Slot to render content before slider. | _ |
|
| The | _ |
|
| Minimum allowed value of the slider. |
|
|
| Maximum allowed value of the slider. |
|
|
| Step increment for the slider. Note: The step value must always be greater than 0. |
|
|
| Controlled value of the slider, used when the slider value is managed externally. | _ |
|
| Default value of the slider, used when the slider is uncontrolled. Should be within | _ |
|
| Disables the slider, preventing user interaction. |
|
|
| Callback function triggered when the slider value changes, providing the new value as an argument. | _ |
Note: If value
or defaultValue
falls outside the min
and max
range, a console warning will appear, and the component will not render.