[Doc] default slot name

This commit is contained in:
陈嘉涵
2019-04-30 17:32:00 +08:00
parent 2bb01b4a63
commit cd0720954c
65 changed files with 97 additions and 98 deletions
+2 -2
View File
@@ -149,7 +149,7 @@ Use ref to get swipe instance and call instance methods
### Slot
| name | Description |
| Name | Description |
|------|------|
| - | Content |
| default | Content |
| indicator | Custom indicator |
+4 -4
View File
@@ -135,13 +135,13 @@ export default {
### Swipe 事件
| 事件名 | 说明 | 参数 |
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| change | 每一页轮播结束后触发 | index, 当前页的索引 |
### SwipeItem 事件
| 事件名 | 说明 | 参数 |
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| click | 点击时触发 | - |
@@ -153,9 +153,9 @@ export default {
|------|------|------|------|
| swipeTo | index: 目标位置的索引 | void | 滚动到目标位置 |
### 插槽
### Slot
| 名称 | 说明 |
|------|------|
| - | 轮播内容 |
| default | 轮播内容 |
| indicator | 自定义指示器 |