[Doc] use ts-style type
This commit is contained in:
+10
-10
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user