feat(Swipe): add prev、next method (#5548)

This commit is contained in:
neverland
2020-01-10 17:51:34 +08:00
committed by GitHub
parent d023fda8cb
commit 2d6f633c7a
4 changed files with 59 additions and 24 deletions
+2
View File
@@ -160,6 +160,8 @@ Use [ref](https://vuejs.org/v2/api/#ref) to get Swipe instance and call instance
| Name | Description | Attribute | Return value | Version |
|------|------|------|------|------|
| prev | Swipe to prev item | - | - | 2.4.2 |
| next | Swipe to next item | - | - | 2.4.2 |
| swipeTo | Swipe to target index | index: target index, options: Options | void | - |
| resize | Resize Swipe when container element resized | - | void | 2.2.14 |