# vue-m-touch

> A touch events plugin for Vue.js

Latest version **0.2.3** (published 2017-04-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-m-touch
pnpm add vue-m-touch
yarn add vue-m-touch
bun add vue-m-touch
```

## 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.2.3 |
| Published | 2017-04-26 |
| First published | 2016-09-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | WangLei |
| Maintainers | wanglei8381 |
| Keywords | vue-m-touch, vue-touch, vue, touch |

## Links

- npm: https://www.npmjs.com/package/vue-m-touch
- Repository: https://github.com/wanglei8381/vue-m-touch
- Homepage: https://github.com/wanglei8381/vue-m-touch#readme
- npm.io page: https://npm.io/package/vue-m-touch

## Dependencies (1)

- [super-touch](https://npm.io/package/super-touch.md) ^0.0.5

## Recent versions

- 0.2.3 (latest) — 2017-04-26
- 0.2.2 — 2017-04-11
- 0.2.1 — 2017-04-07
- 0.2.0 — 2017-03-28
- 0.1.3 — 2017-03-26
- 0.1.2 — 2016-12-02
- 0.1.1 — 2016-12-01
- 0.1.0 — 2016-12-01
- 0.0.8 — 2016-11-29
- 0.0.7 — 2016-11-29
- 0.0.6 — 2016-11-11
- 0.0.5 — 2016-11-11
- 0.0.4 — 2016-11-11
- 0.0.3 — 2016-10-25
- 0.0.2 — 2016-09-30
- … 1 more at https://npm.io/package/vue-m-touch/versions

## README

# vue-m-touch
 <h5>基于vue移动端手势库</h5>
 <h6>从v0.0.3开始支持vue2.x</h6>
 
## Install
npm install vue-m-touch

## Use
<pre>
var Vue = require('vue');
Vue.use(require('vue-m-touch'));
</pre>

## Api
<pre>
v-touch:tap
v-touch:longtap
v-touch:swipeleft
v-touch:swiperight
v-touch:tap.stop
v-touch:tap.prevent
v-touch:tap.self

传参数:
vue建议通过dataset方式
v-touch:tap="handler"
也可以通过对象的形式传参数,必须存在一个handler属性用于回调
v-touch:tap="{handler:handler,arg1:'1',arg2:{}}"
</pre>

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