commit
d1ac0c4583
1 changed files with 2 additions and 2 deletions
|
@ -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`.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue