node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org »

tap-component

tap

tap on elements. bypasses the click delay on mobile.

Installation

$ component install component/tap

API

Tap(el, fn)

Initialize a new tap event on el that triggers fn.

tap(el, fn);

.unbind()

Unbind the tap event.

tap.unbind();

License

MIT