Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hackkun/touch

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackkun/touch

手势库

  • 1.0.20
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@hackkun/touch

手势库,支持移动端和 PC 端,只支持 import 方式引用 移动端事件:start end tap singleTap doubleTap longTap drag swipe pinch rotate PC 端事件:start end tap singleTap doubleTap longTap drag swipe wheelStart wheel wheelEnd 自定义 event 扩展了: drag 下 deltaX,deltaY swipe 下 Left Right Up Down wheel 和 pinch 下 ratio

Usage

import { HackTouchMobile, HackTouchPc } from '@hackkun/touch'
const ht = new HackTouchMobile(idName)
ht.on(EventName, (Event) => {})

Keywords

FAQs

Package last updated on 19 Jun 2020

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc