feat(ImagePreview): add swipeTo method (#6596)

This commit is contained in:
来铧敏
2020-06-22 20:47:04 +08:00
committed by GitHub
parent 60fb4cc7bc
commit bd1279bc7d
6 changed files with 76 additions and 0 deletions
+1
View File
@@ -185,6 +185,7 @@ export default {
| closed `v2.5.6` | 关闭且且动画结束后触发 | - |
| change | 切换当前图片时触发 | index: 当前图片的索引 |
| scale `v2.5.0` | 缩放当前图片时触发 | { index: 当前图片的索引, scale: 当前缩放的值 } |
| swipeTo `2.9.0` | 切换到指定位置 | index: number, options: Options | void |
### Slots