jQuery Plugin For Double Click/Tap Detection - doubleTap

File Size: 4.7 KB
Views Total: 2377
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
jQuery Plugin For Double Click/Tap Detection - doubleTap

doubleTap is a jQuery plugin that triggers a callback function after double-tapping/double-clicking on the selected DOM element.

How to use it:

1. Add the jQuery doubleTap plugin's script to the webpage, after you've added jQuery JavaScript library.

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

2. Execute a callback as the users double-clicks or double-taps a specific DOM element.

$("#element").doubleTap(function() {
  // do something here
});

Change log:

2016-05-24


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