dragnclick

1.0.2 • Public • Published

you can use this module to make an html element draggable, and it can recognize the click action on this element. param1: the first param is the html element[required]. param2: the second param is a callback function,which means what you wanna do when the click action triggered[not required].

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i dragnclick

    Weekly Downloads

    1

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    2.89 kB

    Total Files

    3

    Last publish

    Collaborators

    • flame618