node package manager


double tap on elements. supports touch and mouse devices


double tap on elements. handles both double tap and double click.

Install with component(1):

$ component install component/double-tap
doubletap(box, function(e) { = randomColor();

Initialize Doubletap.

Unbind Doubletap

  • normalize the event object in component/tap. right now depending on if the device supports touch or not, the event object will be different (ex. no e.pageX on mobile)

  • instead of handling click in doubleclick, move click logic to component/tap