fix(ImagePreview): missing swipeDuration type definition (#4968)

This commit is contained in:
neverland
2019-11-09 15:57:26 +08:00
committed by GitHub
parent b055980fe0
commit f4f88c5254
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ export default {
| showIndex | 是否显示页码 | *boolean* | `true` | - |
| showIndicators | 是否显示轮播指示器 | *boolean* | `false` | - |
| loop | 是否开启循环播放 | *boolean* | `true` | - |
| swipeDuration | 动画时长,单位为 ms | *number* | `500` | - |
| swipeDuration | 动画时长,单位为`ms` | *number* | `500` | - |
| onClose | 关闭时的回调函数 | *Function* | - | - |
| onChange | 切换图片时的回调函数,回调参数为当前索引 | *Function* | - | 2.0.3 |
| asyncClose | 是否开启异步关闭 | *boolean* | `false` | - |