鼠标双击或触摸双击事件检测jQuery插件
jQuery-doubleTap是一款非常有用的鼠标双击事件或移动设备的触摸双击事件检测jQuery插件。该插件通过对“click”和“touch”的简单代码优化来实现鼠标双击或触摸双击事件的检测。
JavaScript 其它杂项
共3Star
详细介绍
jQuery-doubleTap
A useful double-tap/double-click plugin for jQuery.
Example:
$(selector).doubleTap(function() {
$(selector).css('background', '#f00');
});
As the top of this README suggests, this plugin is optimized for both "click" and "touch".