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


Version published
Weekly downloads
230
increased by57.53%
Maintainers
1
Install size
67.0 kB
Created
Weekly downloads
 

Readme

Source

legacy

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

  • 3.0.0 适配 Vue 3,Vue 2 代码在 legacy 分支
  • 3.0.0 后不运行 rollup 打包,直接指定 lib/index 运行

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 02 Mar 2024

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