feat(Swipe): add stop-propagation prop (#4972)
This commit is contained in:
+6
-5
@@ -130,14 +130,15 @@ export 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 to allow swipe by touch gesture | *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` | - |
|
||||
| loop | Whether to enable loop | *boolean* | `true` | - |
|
||||
| show-indicators | Whether to show indicators | *boolean* | `true` | - |
|
||||
| indicator-color | Indicator color | *string* | `#1989fa` | - |
|
||||
| vertical | Whether to be vertical Scrolling | *boolean* | `false` | - |
|
||||
| touchable | Whether to allow swipe by touch gesture | *boolean* | `true` | - |
|
||||
| stop-propagation | Whether to stop touchmove event propagation | *boolean* | `false` | 2.1.0 |
|
||||
|
||||
### Swipe Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user