docs: update method table (#4511)
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
@@ -161,9 +161,9 @@ export default {
|
||||
|
||||
通过 ref 可以获取到 swipe 实例并调用实例方法
|
||||
|
||||
| 方法名 | 参数 | 返回值 | 介绍 |
|
||||
| 方法名 | 说明 | 参数 | 返回值 |
|
||||
|------|------|------|------|
|
||||
| swipeTo | index: 目标位置的索引, options: 选项 | void | 滚动到目标位置 |
|
||||
| swipeTo | 滚动到目标位置 | index: 目标位置的索引, options: 选项 | void |
|
||||
|
||||
### swipeTo Options 格式
|
||||
|
||||
|
||||
Reference in New Issue
Block a user