mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 19:06:36 +08:00
[Doc] Swipe slot
This commit is contained in:
parent
5c05eb42cb
commit
3eb07cecc0
@ -146,4 +146,11 @@ Use ref to get swipe instance and call instance methods
|
|||||||
|
|
||||||
| Name | Attribute | Return value | Description |
|
| Name | Attribute | Return value | Description |
|
||||||
|-----------|-----------|-----------|-------------|
|
|-----------|-----------|-----------|-------------|
|
||||||
| swipeTo | index: 目标位置的索引 | void | 滚动到目标位置 |
|
| swipeTo | index: target index | void | Swipe to target index |
|
||||||
|
|
||||||
|
### Slot
|
||||||
|
|
||||||
|
| name | Description |
|
||||||
|
|-----------|-----------|
|
||||||
|
| - | Content |
|
||||||
|
| indicator | Custom indicator |
|
||||||
|
@ -148,6 +148,13 @@ export default {
|
|||||||
|-----------|-----------|-----------|-------------|
|
|-----------|-----------|-----------|-------------|
|
||||||
| swipeTo | index: 目标位置的索引 | void | 滚动到目标位置 |
|
| swipeTo | index: 目标位置的索引 | void | 滚动到目标位置 |
|
||||||
|
|
||||||
|
### 插槽
|
||||||
|
|
||||||
|
| 名称 | 说明 |
|
||||||
|
|-----------|-----------|
|
||||||
|
| - | 轮播内容 |
|
||||||
|
| indicator | 自定义指示器 |
|
||||||
|
|
||||||
### 更新日志
|
### 更新日志
|
||||||
|
|
||||||
| 版本 | 类型 | 内容 |
|
| 版本 | 类型 | 内容 |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user