component-tap

1.0.1 • Public • Published

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

/component-tap/

    Package Sidebar

    Install

    npm i component-tap

    Weekly Downloads

    23

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • tootallnate