PDA

View Full Version : swipe event properties - explanation



gkatz
15 Dec 2012, 1:46 PM
Hi;
I am interested in using swipe jestures but besides the direction property which is self explanatory i dont really understand the rest...
can anyone point me to a reference of explain the important properties on this event?
see console log below:
40836
thanks

mitchellsimoens
17 Dec 2012, 6:56 AM
many are pretty self explanatory also

the X/Y ones are the X/Y coords on the page for that particular time, like startX is the X where the interaction started. The Time ones are the same.

Then you have the DOM elements for target the the delegatedTarget.

The touch ones are pretty self explanatory, surprised about the touches being an empty array tho.