[Doc] use ts-style type

This commit is contained in:
陈嘉涵
2019-07-11 20:35:41 +08:00
parent 32f19c5561
commit 019c75506a
120 changed files with 1288 additions and 1288 deletions
+10 -10
View File
@@ -127,16 +127,16 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|
| autoplay | Autoplay interval (ms) | `Number` | - |
| duration | Animation duration (ms) | `Number` | `500` |
| loop | Whether to enable loop | `Boolean` | `true` |
| vertical | Vertical Scrolling | `Boolean` | `false` |
| touchable | Whether touchable | `Boolean` | `true` |
| show-indicators | Whether to show indicators | `Boolean` | `true` |
| indicator-color | Indicator color | `String` | `#1989fa` |
| initial-swipe | Index of initial swipe, start from 0 | `Number` | `0` |
| width | Set Swiper Item Width | `Number` | `0` |
| height | Set Swiper Item Height | `Number` | `0` |
| autoplay | Autoplay interval (ms) | `number` | - |
| duration | Animation duration (ms) | `number` | `500` |
| loop | Whether to enable loop | `boolean` | `true` |
| vertical | Vertical Scrolling | `boolean` | `false` |
| touchable | Whether touchable | `boolean` | `true` |
| show-indicators | Whether to show indicators | `boolean` | `true` |
| indicator-color | Indicator color | `string` | `#1989fa` |
| initial-swipe | Index of initial swipe, start from 0 | `number` | `0` |
| width | Set Swiper Item Width | `number` | `0` |
| height | Set Swiper Item Height | `number` | `0` |
### Swipe Events