Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fca7ea0

Browse files
committedSep 10, 2015
Added mousewheel support for touch devices
1 parent c8da275 commit fca7ea0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎js/views/scrollView.js

+1
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,7 @@ ionic.views.Scroll = ionic.views.View.inherit({
885885
document.addEventListener("touchmove", self.touchMove, false);
886886
document.addEventListener("touchend", self.touchEnd, false);
887887
document.addEventListener("touchcancel", self.touchEnd, false);
888+
document.addEventListener("wheel", self.mouseWheel, false);
888889

889890
} else if (window.navigator.pointerEnabled) {
890891
// Pointer Events

0 commit comments

Comments
 (0)
Please sign in to comment.