pageYOffset, scrollY, document.body.innerHeight
Daisho Komiyama edited this page Jan 19, 2018
·
2 revisions
Window properties in JavaScript are very confusing to tell which one is which one. pageYOffset
, scrollY
which is an alias for pageYOffset
and innerHeight
etc.
I created visual note hoping it rings a bell.