github.com/monospaced/angular-mousewheel
An AngularJS directive for cross-browser mouse wheel support using the small and standalone Hamster.js library.
The event callback receives 3 extra arguments which are the normalized “deltas” of the mouse wheel.
msd-wheel="myFunction($event, $delta, $deltaX, $deltaY)"
No jQuery required, only Hamster.js. Tested in these core browsers.
1.
2.
3.
4.
5.
6.
7.
{{ua}}