Socket
Book a DemoInstallSign in
Socket

tp-pointer-events

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tp-pointer-events

Extend the mobile-side event touchstart / touchmove / touchend logic to the desktop.

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

tp-pointer-events

Build Status Coverage Status npm version monthly downloads code style: prettier semantic-release UNPKG liense

Intro

Extend the mobile-side event touchstart / touchmove / touchend logic to the desktop.

Example

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, {});

Install

NPM Badge

API

Development

  • npm t: Run test suite
  • npm start: Run npm run build in watch mode
  • npm run test:watch: Run test suite in interactive watch mode
  • npm run test:prod: Run linting and generate coverage
  • npm run build: Generate bundles and typings, create docs
  • npm run lint: Lints code
  • npm run commit: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:)

License

MIT

FAQs

Package last updated on 17 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.