mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(DatetimePicker): add swipe-duration prop (#5015)
This commit is contained in:
parent
438711ef82
commit
f871c84b18
@ -69,7 +69,7 @@ Set `columns-num` with 2, you'll have a 2 level picker.
|
||||
| confirm-button-text | Text of confirm button | *string* | `Confirm` | - |
|
||||
| cancel-button-text | Text of cancel button | *string* | `Cancel` | - |
|
||||
| is-oversea-code | The method to validate oversea code | *() => boolean* | - | 2.1.4 |
|
||||
| swipe-duration | Duration of the momentum animation,unit `ms` | *number* | `1000` | `2.2.10` |
|
||||
| swipe-duration | Duration of the momentum animation,unit `ms` | *number* | `1000` | `2.2.13` |
|
||||
|
||||
### Events
|
||||
|
||||
|
@ -165,6 +165,7 @@ export default {
|
||||
| confirm-button-text | Text of confirm button | *string* | `Confirm` | - |
|
||||
| cancel-button-text | Text of cancel button | *string* | `Cancel` | - |
|
||||
| visible-item-count | Count of visible columns | *number* | `5` | - |
|
||||
| swipe-duration | Duration of the momentum animation,unit `ms` | *number* | `1000` | `2.2.13` |
|
||||
|
||||
### Events
|
||||
|
||||
|
@ -169,6 +169,7 @@ export default {
|
||||
| confirm-button-text | 确认按钮文字 | *string* | `确认` | - |
|
||||
| cancel-button-text | 取消按钮文字 | *string* | `取消` | - |
|
||||
| visible-item-count | 可见的选项个数 | *number* | `5` | - |
|
||||
| swipe-duration | 快速滑动时惯性滚动的时长,单位`ms` | *number* | `1000` | `2.2.13` |
|
||||
|
||||
### Events
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user