jQuery Plugin For Handling Double Tap Event - doubleTap

File Size: 4.39 KB
Views Total: 5311
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin For Handling Double Tap Event - doubleTap

doubleTap is a jQuery plugin to determine double tap event on touch device that binds an event handler to a "double tap" JavaScript event.

See also:

How to use it:

1. Include jQuery library and the jQuery doubleTap plugin's script on your mobile webpage.

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="src/jquery-doubletap.js"></script>

2. Do some cool stuffs when the visitors 'double tap' a specific element on the webpage.

$('.container').doubletap(function(e) {
  console.log('bar', e);
});

This awesome jQuery plugin is developed by aramk. For more Advanced Usages, please check the demo page or visit the official website.