Swipe event start and end coordinates


#1

Is it possible to get start x,y and end x,y for swipe gestures (on-swipe-left)

Thanks


#2

Would like to know this too! +1


#3

I would assume you have to “play around” with the swipe, touch and release events.

Maybe setting a flag for the swipe event, get the first coordinates and then on the release event to get the last coordinates if the swipe flag is true… Not the prettiest solution thought

For the coordinates you can get them from the event

event.gesture.touches[0].pageX
event.gesture.touches[0].pageY

#4

Thank you. I guess that will have to do it.