Created
March 29, 2017 05:28
-
-
Save c9n/5a369add6448f0785792a142c79a04b1 to your computer and use it in GitHub Desktop.
wheel Event
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var wheelEvt = "onwheel" in document.createElement("div") ? "wheel" : | |
document.onmousewheel !== undefined ? "mousewheel" : | |
"DOMMouseScroll"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment