Merge pull request #2053 from peachesontour/patch-6

Typos
This commit is contained in:
Ilya Kantor 2020-08-27 23:36:09 +03:00 committed by GitHub
commit d1ac0c4583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# Scrolling # Scrolling
The `scroll` event allows to react on a page or element scrolling. There are quite a few good things we can do here. The `scroll` event allows reacting to a page or element scrolling. There are quite a few good things we can do here.
For instance: For instance:
- Show/hide additional controls or information depending on where in the document the user is. - Show/hide additional controls or information depending on where in the document the user is.
@ -34,4 +34,4 @@ If we add an event handler to these events and `event.preventDefault()` in it, t
There are many ways to initiate a scroll, so it's more reliable to use CSS, `overflow` property. There are many ways to initiate a scroll, so it's more reliable to use CSS, `overflow` property.
Here are few tasks that you can solve or look through to see the applications on `onscroll`. Here are few tasks that you can solve or look through to see applications of `onscroll`.