:hand: Multi-touch, gestures, and other events—click, dblclick, dbltap, tap, longpress, drag, swipe, pinch, rotate, shake. For pointer events, each listener can handle anywhere from 1 to 12 fingers at a time, or more, depending on the device. Includes MetaKey tracking (CMD, CTRL) to support native key-commands in various platforms.
The event should get fired only when there is double click or double tap. But when we do single tap the event is getting fired. Tested on chrome browser both in mobile and touch supported desktop. This happens when we do touch , mouse functionality is working ok.
The event should get fired only when there is double click or double tap. But when we do single tap the event is getting fired. Tested on chrome browser both in mobile and touch supported desktop. This happens when we do touch , mouse functionality is working ok.
$(function() { eventjs.add(someElement, "dbltap" , doubleTapEvent , false); });
function doubleTapEvent(event, self){ console.log("doubleTappped"); //This gets logged in single tap also }