SelectionSlider
Render an Astryx slider that steps through discrete options.
Astryx Slider works on a linear numeric scale, so this wrapper drives it
over option indices and synchronizes the selected option value. Pass a
two-item value to select a range instead of a single option.
Notes
See Astryx component docs: https://astryx.atmeta.com/components/Slider.
Functions
constructor__init__(items, value=None, *, label='', label_position='top', label_width=None, marks=False, disabled=False, value_display=None, description=None, **props) -> NoneparamitemsIterable[Any] | Mapping[str, Any]Option labels, (label, value) pairs, or a label to value mapping.
paramvalueAny= NoneSelected option value, or a two-item sequence for a range. Defaults to the first option.
paramlabelstr= ''Visible or accessible label for the component.
paramlabel_positionstr= 'top'Place the label above the slider or beside it in a compact row.
paramlabel_widthint | float | str | None= NoneWidth of a left-side label. Use the same width to align sibling sliders.
parammarksbool= FalseWhether to draw a labelled tick for every option.
paramdisabledbool= FalseWhether the component should render disabled.
paramvalue_displaystr | None= NoneTooltip, text, or hidden value presentation.
paramdescriptionstr | None= NoneHelper text displayed with the input.
parampropsAny= {}Returns
None