v-ons-range

Range input component. Used to display a draggable slider. Works very similar to the <input type="range"> element.

Tutorial

Range sliders

The VOnsRange component is used to display a slider.

There are several props that can be used to customize the behavior of the element. Most of these props come from the original attributes for <input type="range"> element.

To set the maximum and minimum and maximum value the min and max props are used. The step prop can be used to change how much the value changes every step.

The element can be disabled using the disabled prop.

See also

Name Type Description
disabled Boolean Whether the element is disabled or not. Optional.
modelEvent Boolean The native event which should trigger the update:modelValue event. Optional.
modelValue Boolean The value of the range. Optional.
Name Description
material Material Design slider
Name Description
update:modelValue Fired right after the event set in the modelEvent prop.
update:modelValue

Fired right after the event set in the modelEvent prop.

Parameters
Name Type Description

Need Help?

If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.