Last active
August 29, 2015 14:13
-
-
Save horitaku1124/45fdf526ef5bb70f8d34 to your computer and use it in GitHub Desktop.
イベントハンドリングの記述
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.addEventListener('scroll', function(event) { | |
console.log(window.pageYOffset); | |
}, false); | |
window.addEventListener('DOMContentLoaded', function(event) { | |
}, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment