1. Home
  2. Javascript
  3. Get window scroll position

Get the scroll position from the top of the window.

#javascript
window.scrollY
copy
Full Javascript cheatsheet