28 lines
817 B
Markdown
28 lines
817 B
Markdown
:: BASE_DOC ::
|
||
|
||
## API
|
||
|
||
### Stepper Props
|
||
|
||
name | type | default | description | required
|
||
-- | -- | -- | -- | --
|
||
custom-style `v0.25.0` | String | - | \- | N
|
||
disable-input | Boolean | false | \- | N
|
||
disabled | Boolean | false | \- | N
|
||
external-classes | Array | - | `['t-class', 't-class-input', 't-class-add', 't-class-minus']` | N
|
||
input-width | Number | - | \- | N
|
||
max | Number | 100 | \- | N
|
||
min | Number | 0 | \- | N
|
||
step | Number | 1 | \- | N
|
||
theme | String | normal | stylish。options:normal/grey | N
|
||
value | String / Number | 0 | \- | N
|
||
default-value | String / Number | undefined | uncontrolled property | N
|
||
|
||
### Stepper Events
|
||
|
||
name | params | description
|
||
-- | -- | --
|
||
blur | `({ type: string \| number })` | \-
|
||
change | `({ value: string \| number })` | \-
|
||
overlimit | `({type: 'minus' \| 'plus'})` | \-
|