# vue-finger

> alloy_finger based touch events plugin for Vue2

Latest version **0.1.0** (published 2016-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-finger
pnpm add vue-finger
yarn add vue-finger
bun add vue-finger
```

## 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.0 |
| Published | 2016-11-18 |
| First published | 2016-11-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Suhaha |
| Maintainers | shhdnpm |

## Links

- npm: https://www.npmjs.com/package/vue-finger
- Repository: https://github.com/shhdgit/vue-finger
- Issues: https://github.com/shhdgit/vue-finger/issues
- npm.io page: https://npm.io/package/vue-finger

## Dependencies (1)

- [alloyfinger](https://npm.io/package/alloyfinger.md) ^0.1.2

## Recent versions

- 0.1.0 (latest) — 2016-11-18

## README

## Intro

~~This is a directive wrapper for alloyfinger.~~ use [official](https://github.com/AlloyTeam/AlloyFinger)

## Demo

[fiddle](https://jsfiddle.net/3y37wext/3/)

## Install

#### Npm

  ```bash
  npm install --save alloyfinger vue-finger
  ```

#### CommonJS

- Available through npm as `vue-finger`.

``` js
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

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

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

See [alloyfinger](https://github.com/AlloyTeam/AlloyFinger) for all available events.

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

# License
MIT

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