tap-component

1.0.0 • 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

/tap-component/

    Package Sidebar

    Install

    npm i tap-component

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • jonathanong
    • jongleberry
    • tootallnate
    • clintwood
    • thehydroimpulse
    • stephenmathieson
    • timaschew
    • hughsk
    • mattmueller