What are the differences between touchmove and gesturechange?

I initially wanted to track one-finger panning on mobile webkit (iOS / Android). I found Creating a “sticky” fixed position element that works in Safari iOS , and I saw gesturechange. But, as far as I tried, it gesturechangejust seems fired for two-finger movement. Then I found the event touchmove, and it looks like I can use it.

  • What is the difference between touchmoveand gesturechange?
  • Can I use touchmoveone-way pan detection?
+5
source share
1 answer

1.Touchmove, touchstart, touchhend, touchcancel -. , .

gesturechange, gesturestart, gestureend -, . . , , . , .

2. , , , touchmove. 3D- , touchmove gesturechange.

GL

: https://developer.apple.com/library/safari/documentation/appleapplications/reference/safariwebcontent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW1

+4

All Articles