Has anyone got an example of how I can detect swiping in a certain direction using touchStart and touchEnd?
I have not, but need to implement the same thing, so going to wait for an advice here)
Something like this:
Nice example thanks Koen. What about if you just want to detect a swipe without dragging a layer? For example I'm trying to animate a carousel to slide to the next banner after it has detected a swipe.
You can do the same with TouchStart and TouchEnd.
Is there something I can use to feedback the position of the cursor/finger? Or is that the same as DragMove?