mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
docs(Stepper): update stepper docs (#7789)
This commit is contained in:
@@ -136,6 +136,7 @@ export default {
|
||||
| before-change | Callback function before changing,return `false` to prevent change,support return Promise | _(value) => boolean \| Promise_ | `false` |
|
||||
| show-plus | Whether to show plus button | _boolean_ | `true` |
|
||||
| show-minus | Whether to show minus button | _boolean_ | `true` |
|
||||
| show-input | Whether to show input | _boolean_ | `true` |
|
||||
| long-press `v2.4.3` | Whether to allow long press | _boolean_ | `true` |
|
||||
| allow-empty `v2.9.1` | Whether to allow the input to be empty | _boolean_ | `false` |
|
||||
|
||||
|
@@ -160,6 +160,7 @@ export default {
|
||||
| before-change | 输入值变化前的回调函数,返回 `false` 可阻止输入,支持返回 Promise | _(value) => boolean \| Promise_ | `false` |
|
||||
| show-plus | 是否显示增加按钮 | _boolean_ | `true` |
|
||||
| show-minus | 是否显示减少按钮 | _boolean_ | `true` |
|
||||
| show-input | 是否显示输入框 | _boolean_ | `true` |
|
||||
| long-press `v2.4.3` | 是否开启长按手势 | _boolean_ | `true` |
|
||||
| allow-empty `v2.9.1` | 是否允许输入的值为空 | _boolean_ | `false` |
|
||||
|
||||
|
Reference in New Issue
Block a user