[Doc] props title

This commit is contained in:
陈嘉涵
2019-05-03 09:37:24 +08:00
parent 921f8a88fb
commit e3cb465dc2
101 changed files with 279 additions and 283 deletions
+3 -3
View File
@@ -118,7 +118,7 @@ export default {
}
```
### API
### Props
| Attribute | Description | Type | Default |
|------|------|------|------|
@@ -133,7 +133,7 @@ export default {
| width | Set Swiper Item Width | `Number` | `0` |
| height | Set Swiper Item Height | `Number` | `0` |
### Event
### Events
| Event | Description | Arguments |
|------|------|------|
@@ -147,7 +147,7 @@ Use ref to get swipe instance and call instance methods
|------|------|------|------|
| swipeTo | index: target index | void | Swipe to target index |
### Slot
### Slots
| Name | Description |
|------|------|
+2 -2
View File
@@ -118,7 +118,7 @@ export default {
}
```
### API
### Props
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
@@ -153,7 +153,7 @@ export default {
|------|------|------|------|
| swipeTo | index: 目标位置的索引 | void | 滚动到目标位置 |
### Slot
### Slots
| 名称 | 说明 |
|------|------|