[Doc] update changelog

This commit is contained in:
陈嘉涵
2018-10-18 18:50:23 +08:00
parent 2228e46733
commit 2e8d7e0b4f
107 changed files with 810 additions and 1212 deletions
+4 -4
View File
@@ -123,7 +123,7 @@ export default {
### API
| Attribute | Description | Type | Default |
|-----------|-----------|-----------|-------------|
|------|------|------|------|
| autoplay | Autoplay interval (ms) | `Number` | - |
| duration | Animation duration (ms) | `Number` | `500` |
| loop | Whether to enable loop | `Boolean` | `true` |
@@ -137,7 +137,7 @@ export default {
### Event
| Event | Description | Arguments |
|-----------|-----------|-----------|
|------|------|------|
| change | Triggered when current swipe change | index: index of current swipe |
### Methods
@@ -145,12 +145,12 @@ export default {
Use ref to get swipe instance and call instance methods
| Name | Attribute | Return value | Description |
|-----------|-----------|-----------|-------------|
|------|------|------|------|
| swipeTo | index: target index | void | Swipe to target index |
### Slot
| name | Description |
|-----------|-----------|
|------|------|
| - | Content |
| indicator | Custom indicator |