See output below and check the console for 'onSwiping' and 'onSwiped' callback output(open dev tools)
You can also 'toggle' the swiped props being applied to this container below.Applied? | Action | Output |
---|---|---|
onSwiping | False | |
onSwiped | False | |
onTap | False | |
onSwiping Direction | ||
↓ Show ↓ | onSwiped Direction | |
delta: | ||
rotationAngle: | ||
swipeDuration: (ms | Infinity) | ||
preventScrollOnSwipe: | ||
trackTouch: | ||
trackMouse: |
Prevent scroll via CSS (touch-action): |
swipeDuration
and preventScrollOnSwipe
.Swipe:
onTouchStartOrMouseDown
and touchEventOptions
Thanks for checking out the examples! Let us know if you discover anything or have thoughts on improvements, and submit an issue or PR!