[Improvement] Swipe: add touchable prop (#975)

This commit is contained in:
neverland
2018-05-02 23:03:59 +08:00
committed by GitHub
parent 593b09a026
commit 70399d0e17
4 changed files with 24 additions and 13 deletions
+2 -1
View File
@@ -84,9 +84,10 @@ 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 touchable | `Boolean` | `true` | - |
| show-indicators | Whether to show indocators | `Boolean` | `true` | - |
| initial-swipe | Index of initial swipe, start from 0 | `Number` | `0` | - |
| vertical | Vertical Scrolling | `Boolean` | `false` | - |
### Event