Stepper

Increase, decrease or modify the current value

Import

import { Stepper } from  'mand-mobile-next'

Vue.createApp().component(Stepper.name, Stepper)

Code Examples

API

Stepper Props

PropsDescriptionTypeDefault
v-modelcurrent valueNumber/String-
stepthe number of steps can be changed and be a decimalNumber/String1
minminimumNumber/String-Infinity
maxmaximumNumber/StringInfinity
disabled-Booleanfalse
read-only-Booleanfalse
is-integeronly integersBooleanfalse

Stepper Events

@change(currentValue)

Change value

@increase(difference)

Triggered when the current value increases

PropsDescriptionType
differenceIncreased valueNumber
@decrease(difference)

Triggered when the current value decreases

PropsDescriptionType
differenceReduced valueNumber