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
@@ -147,6 +147,7 @@ export default {
| closed `v2.5.6` | Triggered after closed | - |
| change | Triggered when current image change | index: index of current image |
| scale `v2.5.0` | Triggered when current image scale | { index: index of current image, scale: scale of current image} |
| swipeTo `2.9.0` | Swipe to target index | index: target index, options: Options | void |
### Slots