Skip to content

Commit

Permalink
Added mousewheel support for touch devices
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisl9029 committed Sep 10, 2015
1 parent c8da275 commit fca7ea0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/views/scrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,7 @@ ionic.views.Scroll = ionic.views.View.inherit({
document.addEventListener("touchmove", self.touchMove, false);
document.addEventListener("touchend", self.touchEnd, false);
document.addEventListener("touchcancel", self.touchEnd, false);
document.addEventListener("wheel", self.mouseWheel, false);

} else if (window.navigator.pointerEnabled) {
// Pointer Events
Expand Down

0 comments on commit fca7ea0

Please sign in to comment.