Slider
render_slider(value=None, on_change=None, min_=None, max_=None, decimal_places=0, id_=None, str_labels=None, **slider_props)
My defaults for rx.slider.
| PARAMETER | DESCRIPTION |
|---|---|
value
|
Value for the slider.
TYPE:
|
on_change
|
Event handler to call when the slider value changes.
TYPE:
|
min_
|
Minimum value for the slider.
TYPE:
|
max_
|
Maximum value for the slider.
TYPE:
|
decimal_places
|
Number of decimal places to round to.
TYPE:
|
id_
|
ID for the slider.
TYPE:
|
str_labels
|
Labels to show instead of exact values.
TYPE:
|
**slider_props
|
Additional properties for the slider.
DEFAULT:
|
| RETURNS | DESCRIPTION |
|---|---|
Component
|
rx.Component: A slider component. |