A standalone javascript library for cross-browser mouse wheel support.
The event callback receives 3 extra arguments which are the normalized “deltas” of the mouse wheel.
Hamster(el).wheel(function(event, delta, deltaX, deltaY){
console.log(delta, deltaX, deltaY);
});
No jQuery or other libraries required, but an adpater for AngularJS is available.
Tested in these core browsers.
bower install hamsterjs