Package Exports
- wheel
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wheel) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
wheel 
In 2014 this module was supposed to unify handling of mouse whee event across different browsers.
Now it's just a wrapper on top of element.addEventListener('wheel', callback);
Usage
var addWheelListener = require('wheel').addWheelListener;
var removeWheelListener = require('wheel').removeWheelListener;
addWheelListener(domElement, function (e) {
// mouse wheel event
});
removeWheelListener(domElement, function);You can also use a shortcut for addWheelListener:
var addWheelListener = require('wheel');
addWheelListener(domElement, function (e) {
// mouse wheel event
});install
With npm do:
npm install wheellicense
MIT