egroupware/api/js/jquery/jquery-tap-and-hold
2021-06-10 11:38:54 +02:00
..
examples moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00
jquery.tapandhold.js include jquery and other legacy js files via script tag 2021-06-10 11:38:54 +02:00
README.txt moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +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