Tutorial: Hold

Hold

touchSwipe Fork me on GitHub

events: tap, hold

properties: longTapThreshold

You can also detect if the user holds their finger down until the longTapthreshold is met
The hold handler is passed the original event object and the target that was clicked.

If you use the jquery.ui.ipad.js plugin (http://code.google.com/p/jquery-ui-for-ipad-and-iphone/) you can then also pickup standard jQuery mouse events on children of the touchSwipe object.


			
			
			
Hold me :)