tp-pointer-events
Intro
Extend the mobile-side event touchstart / touchmove / touchend logic to the desktop.
Example
; { // do something} { // do something} { // do something} const pointerEvents = this_el pointerDown pointerMove pointerUp {};
Install
API
Development
npm t
: Run test suitenpm start
: Runnpm run build
in watch modenpm run test:watch
: Run test suite in interactive watch modenpm run test:prod
: Run linting and generate coveragenpm run build
: Generate bundles and typings, create docsnpm run lint
: Lints codenpm run commit
: Commit using conventional commit style (husky will tell you to use it if you haven't 😉)
License
MIT