From f871c84b18393a356d65b8452d1c45ccbe5247c7 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 14 Nov 2019 19:37:20 +0800 Subject: [PATCH] feat(DatetimePicker): add swipe-duration prop (#5015) --- src/area/README.md | 2 +- src/datetime-picker/README.md | 1 + src/datetime-picker/README.zh-CN.md | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/area/README.md b/src/area/README.md index 9a529de95..044718225 100644 --- a/src/area/README.md +++ b/src/area/README.md @@ -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 diff --git a/src/datetime-picker/README.md b/src/datetime-picker/README.md index dcded7b94..3be485796 100644 --- a/src/datetime-picker/README.md +++ b/src/datetime-picker/README.md @@ -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 diff --git a/src/datetime-picker/README.zh-CN.md b/src/datetime-picker/README.zh-CN.md index 79671de57..6ea75bd0c 100644 --- a/src/datetime-picker/README.zh-CN.md +++ b/src/datetime-picker/README.zh-CN.md @@ -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