Extend the mobile-side event touchstart / touchmove / touchend logic to the desktop.
npm install tp-pointer-events






![liense]()
``js
import PointerEvents from 'tp-pointer-events';
function pointerDown(e){
// do something
}
function pointerMove(e){
// do something
}
function pointerUp(e){
// do something
}
const pointerEvents = new PointerEvents(this._el, pointerDown, pointerMove, pointerUp, {});
`

- npm t: Run test suitenpm start
- : Run npm 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 :wink:)
-
MIT