feat(DatetimePicker): add swipe-duration prop (#5015)

This commit is contained in:
neverland 2019-11-14 19:37:20 +08:00 committed by GitHub
parent 438711ef82
commit f871c84b18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -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 animationunit `ms` | *number* | `1000` | `2.2.10` |
| swipe-duration | Duration of the momentum animationunit `ms` | *number* | `1000` | `2.2.13` |
### Events

View File

@ -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 animationunit `ms` | *number* | `1000` | `2.2.13` |
### Events

View File

@ -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