Class Index | File Index

Classes


Class GestureListener

GestureListener
Defined in: <mobile_common.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
GestureListener.addSwipe(oDomElement, fnCallback)
You can identify a swipe gesture as follows: 1.
Class Detail
GestureListener()
Method Detail
<static> GestureListener.addSwipe(oDomElement, fnCallback)
You can identify a swipe gesture as follows: 1. Begin gesture if you receive a touchstart event containing one target touch. 2. Abort gesture if, at any time, you receive an event with >1 touches. 3. Continue gesture if you receive a touchmove event mostly in the x-direction. 4. Abort gesture if you receive a touchmove event mostly the y-direction. 5. End gesture if you receive a touchend event. based on Dave Dunkins script
Parameters:
oDomElement
fnCallback

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Nov 23 2012 12:16:41 GMT+0100 (MEZ)