Skip to content

shhdgit/vue-finger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This is a directive wrapper for alloyfinger. use official

Demo

fiddle

Install

Npm

npm install --save alloyfinger vue-finger

CommonJS

  • Available through npm as vue-finger.
var VueFinger = require('vue-finger')
Vue.use(VueFinger)

Direct include

  • You can also directly include it with a <script> tag when you have Vue and alloyfinger.js already included globally. It will automatically install itself, and will add a global VueFinger.

Usage

Using the v-finger directive

<a v-finger:tap="onTap">Tap me!</a>

<div v-finger:pressmove="onMove">Move me!</div>

See alloyfinger for all available events.

camelCase args should switch to lowercase (e.g., pressMove -> pressmove)

License

MIT

About

alloy_finger wrapper for Vue2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published