Skip to content
Range input
Help text
RangeInput ⚠️ Experimental
The RangeInput component can be used imported from:
Playground
Attention!
The localization format of the input comes from the format settings of the client's operation system.
Parameters
Events
This component has events. Check the documentation about how to use the events.
Name | Payload | Description |
---|---|---|
change | [number, number] | Returns the new value of the model |
restarted | void | Emitted on value reset |
Slots
This component has slots. Check the documentation about how to use the slots.
Name | Tags | Description |
---|---|---|
help-text | span | Slot for help text |
label | span | Slot for label |
Parameters use
Check the documentation about how to use the parameters.
model
Attention!
If you hardcode this value, it will not be reactive and the selection won't change. Use a variable instead and, ideally, a closed loop.
The model
attribute is used to model the selected cards.
label
The label
parameter is used to set the text label of the component. Make sure you always use it.
Can also use the label
slot:
config
The config
parameter is used to set the shape of the input between lined
and shaped
. Being omitted will render the default shaped
shape.
help-text
The help-text
parameter is used to provide additional assistance to the user.
It can also use the help-text
slot:
Flags
disabled
The attribute disabled
will block the interaction with the component.
invalid
The invalid
attribute will set the component as invalid.
Browser support
Detected engine:
Chromium
Webkit
Gecko