Getting started with pointergestures

24 views
Skip to first unread message

irfan mir

unread,
Apr 18, 2014, 5:58:28 PM4/18/14
to polym...@googlegroups.com

In regards to pointergestures, I want to only develop a pitch and, separately, a flick interactions. Can I just include pointerevents, pointergestures, and the js for gust the pinch and flick gestures?
Or do I need to include everything?

In terms of implementation, how can I tell the distance between the two pointers in a pinch gesture in real-time, while the gesture is happening?

And for the flick— how can I tell direction as I want to do something only if it is up. Also does the event record the length of the flick?

I'd greatly appreciate any and all help!

Thanks in Advance,
Irfan

I would like to run some js if the pinch is a pinch in and different js if it is a pinch out.

Reply all
Reply to author
Forward
0 new messages