egroupware_official/phpgwapi/js/jquery/jquery-tap-and-hold
2014-10-22 15:21:07 +00:00
..
examples Use jquery-tap-and-hold plugin for taphold event on touch devices 2014-10-22 15:12:48 +00:00
jquery.tapandhold.js Set hold trigger timer to 600 milliseconds in order to popup the context menu faster for touch devices 2014-10-22 15:21:07 +00:00
README.txt Use jquery-tap-and-hold plugin for taphold event on touch devices 2014-10-22 15:12:48 +00:00

jQuery - Tap and Hold
=====================

	This jQuery plugin lets you detect a tap and hold event on touch interfaces.

How to use it?

	1) Add the jQuery Tap and Hold plugin into your HTML

	<script src="jquery.tapandhold.js" type="text/javascript"></script>

	2) Bind a tap and hold handler function to the tap and hold event of an element.

	$("#myDiv").bind("taphold", function(event){
		alert("This is a tap and hold!");
	});

You can check a working example in examples/example1.html