mirror of
https://github.com/youzan/vant.git
synced 2026-05-06 01:00:26 +08:00
docs: remove legacy version tag (#7876)
This commit is contained in:
+2
-2
@@ -189,8 +189,8 @@ Use [ref](https://vuejs.org/v2/api/#ref) to get Swipe instance and call instance
|
||||
|
||||
| Name | Description | Attribute | Return value |
|
||||
| --- | --- | --- | --- |
|
||||
| prev `v2.4.2` | Swipe to prev item | - | - |
|
||||
| next `v2.4.2` | Swipe to next item | - | - |
|
||||
| prev | Swipe to prev item | - | - |
|
||||
| next | Swipe to next item | - | - |
|
||||
| swipeTo | Swipe to target index | index: target index, options: Options | - |
|
||||
| resize | Resize Swipe when container element resized or visibility changed | - | - |
|
||||
|
||||
|
||||
@@ -199,8 +199,8 @@ export default {
|
||||
|
||||
| 方法名 | 说明 | 参数 | 返回值 |
|
||||
| --- | --- | --- | --- |
|
||||
| prev `v2.4.2` | 切换到上一轮播 | - | - |
|
||||
| next `v2.4.2` | 切换到下一轮播 | - | - |
|
||||
| prev | 切换到上一轮播 | - | - |
|
||||
| next | 切换到下一轮播 | - | - |
|
||||
| swipeTo | 切换到指定位置 | index: number, options: Options | - |
|
||||
| resize | 外层元素大小或组件显示状态变化时,可以调用此方法来触发重绘 | - | - |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user