feat(Swipe): add stop-propagation prop (#4972)

This commit is contained in:
neverland
2019-11-09 21:32:04 +08:00
committed by GitHub
parent 5040233234
commit aa0dfe8808
3 changed files with 14 additions and 8 deletions
+3 -2
View File
@@ -137,13 +137,14 @@ export default {
| autoplay | 自动轮播间隔,单位为 ms | *number* | - | - |
| duration | 动画时长,单位为 ms | *number* | `500` | - |
| initial-swipe | 初始位置索引值 | *number* | `0` | - |
| width | 滑块宽度 | *number* | `auto` | - |
| height | 滑块高度 | *number* | `auto` | - |
| loop | 是否开启循环播放 | *boolean* | `true` | - |
| show-indicators | 是否显示指示器 | *boolean* | `true` | - |
| indicator-color | 指示器颜色 | *string* | `#1989fa` | - |
| vertical | 是否为纵向滚动 | *boolean* | `false` | - |
| touchable | 是否可以通过手势滑动 | *boolean* | `true` | - |
| width | 滑块宽度 | *number* | `auto` | - |
| height | 滑块高度 | *number* | `auto` | - |
| stop-propagation | 是否阻止滑动事件冒泡 | *boolean* | `true` | 2.2.13 |
### Swipe Events