vuewheel

2.1.6 • Public • Published

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

Package Sidebar

Install

npm i vuewheel

Weekly Downloads

45

Version

2.1.6

License

MIT

Last publish

Collaborators

  • tombarr