[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
+10 -10
View File
@@ -133,16 +133,16 @@ export default {
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| autoplay | 自动轮播间隔,单位为 ms | `Number` | - | - |
| duration | 动画时长,单位为 ms | `Number` | `500` | - |
| initial-swipe | 初始位置索引值 | `Number` | `0` | - |
| loop | 是否开启循环播放 | `Boolean` | `true` | - |
| show-indicators | 是否显示指示器 | `Boolean` | `true` | - |
| indicator-color | 指示器颜色 | `String` | `#1989fa` | - |
| vertical | 是否为纵向滚动 | `Boolean` | `false` | - |
| touchable | 是否可以通过手势滑动 | `Boolean` | `true` | - |
| width | 滑块宽度 | `Number` | `auto` | - |
| height | 滑块高度 | `Number` | `auto` | - |
| autoplay | 自动轮播间隔,单位为 ms | `number` | - | - |
| duration | 动画时长,单位为 ms | `number` | `500` | - |
| initial-swipe | 初始位置索引值 | `number` | `0` | - |
| loop | 是否开启循环播放 | `boolean` | `true` | - |
| show-indicators | 是否显示指示器 | `boolean` | `true` | - |
| indicator-color | 指示器颜色 | `string` | `#1989fa` | - |
| vertical | 是否为纵向滚动 | `boolean` | `false` | - |
| touchable | 是否可以通过手势滑动 | `boolean` | `true` | - |
| width | 滑块宽度 | `number` | `auto` | - |
| height | 滑块高度 | `number` | `auto` | - |
### Swipe Events