[Doc] Swipe slot

This commit is contained in:
陈嘉涵
2018-10-12 20:36:08 +08:00
parent 5c05eb42cb
commit 3eb07cecc0
2 changed files with 15 additions and 1 deletions
+8 -1
View File
@@ -146,4 +146,11 @@ Use ref to get swipe instance and call instance methods
| Name | Attribute | Return value | Description |
|-----------|-----------|-----------|-------------|
| swipeTo | index: 目标位置的索引 | void | 滚动到目标位置 |
| swipeTo | index: target index | void | Swipe to target index |
### Slot
| name | Description |
|-----------|-----------|
| - | Content |
| indicator | Custom indicator |