docs: update method table (#4511)

This commit is contained in:
neverland
2019-09-20 10:26:54 +08:00
committed by GitHub
parent 0c38d4af6e
commit 76ac9f71d1
26 changed files with 103 additions and 103 deletions
+2 -2
View File
@@ -155,9 +155,9 @@ export default {
Use ref to get swipe instance and call instance methods
| Name | Attribute | Return value | Description |
| Name | Description | Attribute | Return value |
|------|------|------|------|
| swipeTo | index: target index, options: Options | void | Swipe to target index |
| swipeTo | Swipe to target index | index: target index, options: Options | void |
### swipeTo Options
+2 -2
View File
@@ -161,9 +161,9 @@ export default {
通过 ref 可以获取到 swipe 实例并调用实例方法
| 方法名 | 参数 | 返回值 | 介绍 |
| 方法名 | 说明 | 参数 | 返回值 |
|------|------|------|------|
| swipeTo | index: 目标位置的索引, options: 选项 | void | 滚动到目标位置 |
| swipeTo | 滚动到目标位置 | index: 目标位置的索引, options: 选项 | void |
### swipeTo Options 格式