mand-mobile/components/stepper
2019-02-22 15:29:07 +08:00
..
demo example: remove old codesandbox & fix en title 2018-12-13 20:04:48 +08:00
test test: update test cases & snapshots 2019-02-22 15:29:07 +08:00
component.js Initial commit 2018-03-26 16:04:04 +08:00
index.vue style: clean styles 2018-09-03 17:28:32 +08:00
README.en-US.md doc: update preview links 2019-01-29 16:31:24 +08:00
README.md doc: update preview links 2019-01-29 16:31:24 +08:00

title preview
Stepper https://didi.github.io/mand-mobile/examples/#/stepper

Increase, decrease or modify the current value

Import

import { Stepper } from 'mand-mobile'

Vue.component(Stepper.name, Stepper)

Code Examples

API

Stepper Props

Props Description Type Default
v-model current value Number/String -
default-value stepper initial value Number/String -
step the number of steps can be changed and be a decimal Number/String 1
min minimum Number/String -Infinity
max maximum Number/String Infinity
disabled - Boolean false
read-only - Boolean false
is-integer only integers Boolean false

Stepper Events

@change(currentValue)

Change value