Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript scroll tracker

window.addEventListener("scroll", () => {
  console.log(this.scrollY);
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #scroll #tracker
ADD COMMENT
Topic
Name
9+7 =