# vfinger

> a v-finger directive for vuejs

Latest version **0.1.2** (published 2017-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install vfinger
pnpm add vfinger
yarn add vfinger
bun add vfinger
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2017-03-23 |
| First published | 2017-03-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | luandapipi |
| Maintainers | luandapipi |

## Links

- npm: https://www.npmjs.com/package/vfinger
- Repository: https://github.com/luandapipi/v-finger
- Homepage: https://github.com/luandapipi/v-finger#readme
- Issues: https://github.com/luandapipi/v-finger/issues
- npm.io page: https://npm.io/package/vfinger

## Dependencies (1)

- [hammerjs](https://npm.io/package/hammerjs.md) ^2.0.8

## Recent versions

- 0.1.2 (latest) — 2017-03-23
- 0.1.1 — 2017-03-23
- 0.1.0 — 2017-03-23

## README

#### Finger events plugin for Vue.js. This plugin does not support Vue 1.X.

# Install
  * You can install it via npm:

```cmd
  npm install vfinger
```

# Intro
  * This is a hammerjs based on the gesture library,You can easily support a variety of touch events and gestures in your project.

  * By using vfinger you can listen to the gestures of the element gesture operation.
# How to import

  * Using Components

```cmd
  import vfinger from 'vfinger';

  Vue.use(vfinger);
```

  * Direct import

```html
  <script src="//cdn.bootcss.com/vue/2.2.4/vue.js"></script>

  <script src="./v-finger.js"></script>
```

# Usage

  * Using the v-finger directive

  ```html
    <div id="demo" v-finger="{methods:callback,a:123,b:3333}">
  ```

  * add callback method
```javascript
   methods: {
      callback: function (type,e,params) {
          console.log(type)
          console.log(params)
          console.log(e)
      }
  }
```
# Have feedback
In use there are any questions, please give me feedback, you can use the following contact with me

Mail (luandapipi@gmail.com)

# grateful
Thanks for the following items, ranked in no particular order

[hammerjs](https://github.com/hammerjs/hammer.js/)

# License
   * MIT

---
_Source: https://npm.io/package/vfinger · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
