Hammer.js doesn't really handle the native events. So here you should listen for the tap
event rather than the click
.
I don't think a tap event is triggered if the gesture is a hold
, but if it does, just call e.gesture.stopDetect();
to prevent multiple gesture type of being triggered. (for example, this is often use to prevent release
event from being triggered after a swipe
)