vuewheel

wheel directive for vuejs 2.0

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
vuewheel
402.1.65 years ago5 years agoMinified + gzip package size for vuewheel in KB

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.
```App.vue
    <li></li>
... ```
Method onWheel receives the native event,
  • e - event

LICENSE

MIT