Created
June 16, 2015 02:36
-
-
Save tamura/7170c41066f3e1cea137 to your computer and use it in GitHub Desktop.
This file contains 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.onmousemove = handleMouseMove; | |
function handleMouseMove(event) { | |
event = event || window.event; // IE | |
console.log( event.clientX + ", " + event.clientY ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment