vuewheel
v2.1.6
Published
wheel directive for vuejs 2.0
Downloads
31,219
Readme
vue-wheel
wheel directive for vuejs 2.0
Installation
NPM (recommended)
npm install vuewheel --save
Standalone
Simple download from releases and include it in script tag.
Get started
import Vue from 'vue'
import vuewheel from 'vue-wheel'
Vue.use(vuewheel)
Directive v-wheel then can be used in any of your Component.
<template>
<ul v-wheel="onWheel">
<li></li>
</ul>
</template>
...
Method onWheel receives the native event,
- e - event
LICENSE
MIT