Skip to content

Range

te-range is a native slider bound with v-model.

Basic

vue
<te-range v-model="volume" :min="0" :max="10" />
<te-range v-model="volume" :min="0" :max="10" :step="2" disabled />

Props

PropTypeDefaultDescription
modelValuenumber0Supports v-model. The value is kept numeric.
minnumber0Lower bound.
maxnumber5Upper bound.
stepnumber1Increment.
disabledbooleanfalseDisables the slider.

Events

EventPayloadDescription
update:modelValuenumberValue changed.

Released under the MIT License.