s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Forms and controls

RangeSlider

No summary has been written for RangeSlider. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

typescript
import { RangeSlider } from '@happyvertical/smrt-ui/forms';
Import path
@happyvertical/smrt-ui/forms
Props
13
Props described
13 of 13
Bindable state
0
Callback events
1
Verified release
0.44.0

Props

NameTypeRequiredDescription
valueRangeSliderValueNoThe current minimum and maximum values of the range.
minnumberNoMinimum allowed value.
maxnumberNoMaximum allowed value.
stepnumberNoIncrement step for slider and number inputs.
labelstringNoHeader label displayed above the range slider.
minLabelstringNoLabel for the minimum value input field.
maxLabelstringNoLabel for the maximum value input field.
unitstringNoUnit suffix displayed after the range values.
disabledbooleanNoBlocks interaction and submission of this control.
namestringNoForm field name for minimum and maximum inputs.
interactionControlInteractionOptions | falseNoRegisters this control for agent interaction; omit or pass false to exclude.
onvaluechange(value: RangeSliderValue) => voidNoFired when either the minimum or maximum value changes.
classstringNoAdditional CSS class names.

Bindable state

This component has no bindable public state.

Callback events

  • onvaluechange(value: RangeSliderValue) => void

Examples and explanation