Mention scrollX and scrollY

They are how pageOffsetX and pageOffsetY are listed in MDN. For completeness, and so a search for one of those terms will bring up this page.
This commit is contained in:
Peter Roche 2021-04-13 22:10:01 -06:00 committed by GitHub
parent 9e52cf3e14
commit 5b14645cd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,6 +73,8 @@ alert('Current scroll from the left: ' + window.pageXOffset);
These properties are read-only.
(note: `pageXOffset` and `pageYOffset` are aliases for `scrollX` and `scrollY`, but provide greater cross-browser compatibility.)
## Scrolling: scrollTo, scrollBy, scrollIntoView [#window-scroll]
```warn