0.1.2 • Published 5 years ago

@achuan/vue-touch v0.1.2

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@achuan/vue-touch

Touch events plugin for Vue.js.

This is a directive wrapper for Hammer.js 2.0.8.

Install

yarn add @achuan/vue-touch

Usage

Register the directive

import Touch from '@achuan/vue-touch';
Vue.use(Touch)

Using the <v-touch> directive

<div v-touch-options="options" v-touch:swipeup="handler">
  hello, v-touch!
</div>

See Hammer.js documentation for all available events.

License

MIT

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago