Created
November 25, 2013 21:32
-
-
Save nola/7649251 to your computer and use it in GitHub Desktop.
Console log mouse position
clientY shows the Y value in pixels The second one shows event data for mousemove
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
| $(window).on("mousemove", function (e) { console.log(e.clientY) }); | |
| $(window).on("mousemove", function (e) { console.log(e) }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment