0.2.0 • Published 9 years ago
jquery.wheel.js v0.2.0
Cross browser wheel event
wheel
event with .deltaX
and .deltaY
properties, following this MDN documentation.
jQuery( 'selector' ).on('wheel', function( event ) {
console.log( event.deltaX, event.deltaY );
});
Install
With Bower.
bower install jquery.wheel.js
Or download the production version or the development version.