mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[new feature] Swipe: support disable loop (#670)
This commit is contained in:
@@ -72,6 +72,7 @@ export default {
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| autoplay | Autoplay interval (ms) | `Number` | - | - |
|
||||
| duration | Animation duration (ms) | `Number` | `500` | - |
|
||||
| loop | Whether to enable loop | `Boolean` | `true` | - |
|
||||
| show-indicators | Whether to show indocators | `Boolean` | `true` | - |
|
||||
| initial-swipe | Index of initial swipe, start from 0 | `Number` | `0` | - |
|
||||
|
||||
|
@@ -72,6 +72,7 @@ export default {
|
||||
|-----------|-----------|-----------|-------------|-------------|
|
||||
| autoplay | 自动轮播间隔,单位为 ms | `Number` | - | - |
|
||||
| duration | 动画时长,单位为 ms | `Number` | `500` | - |
|
||||
| loop | 是否开启循环播放 | `Boolean` | `true` | - |
|
||||
| show-indicators | 是否显示指示器 | `Boolean` | `true` | - |
|
||||
| initial-swipe | 初始位置,从 0 开始算 | `Number` | `0` | - |
|
||||
|
||||
|
Reference in New Issue
Block a user