Socket
Socket
Sign inDemoInstall

v-finger-mk42

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-finger-mk42

Use AlloyFinger v0.1.10 1.0.4 add transform.js 1.0.5 fixed "toJSON" is not defined 1.0.6 performance element cache 1.0.7 use babel 2.0.3 compatible with PC 2.0.4 compatible with macOS


Version published
Maintainers
1
Weekly downloads
300
decreased by-16.9%

Weekly downloads

Readme

Source

Use AlloyFinger v0.1.10
1.0.4 add transform.js
1.0.5 fixed "toJSON" is not defined
1.0.6 performance element cache
1.0.7 use babel 2.0.3 compatible with PC 2.0.4 compatible with macOS

3.0.0 适配 Vue 3,Vue 2 代码在 legacy 分支

v-finger

<img style="position:absolute;width: 100%;"
      v-transform
      v-finger:pinch="handlePinch"
      v-finger:doubleTap="handleDoubleTap"
      v-finger:multipointStart="handleMultipointStart"
      v-finger:pressMove="handlePressMove"
      v-finger:touchEnd="handleTouchEnd"
      :src="src">
...
handleXXX(e, el) {
    console.log('event',e)
    console.log('element',el)
    console.log("for pinch" + e.zoom)
    console.log("for pressMove" + e.deltaX + ' ' + e.deltaY);
    console.log("for swipe" + e.direction);
}
...

FAQs

Last updated on 23 Sep 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc