Handling Scroll
You can do many things when a user scrolls down a website — like showing stuff, making fancy animations. This chapter gives you everything you need to know and handling scroll events without causing the browser to lag.
Lessons in this chapter
- 1. The Scroll event 3m:52s
- 2. 🛠️ Auto-hiding Sticky-nav: HTML and CSS 0m:37s
- 3. 🛠️ Auto-hiding Sticky-nav: JavaScript 3m:16s
- 4. 🛠️ Auto-hiding Sticky-nav: Natural reveal 5m:02s
- 5. Intersection Observer API 3m:26s
- 6. Intersection Observer Options 3m:35s
- 7. 🛠️ Slide & Reveal 2m:05s
- 8. 🛠️ Slide & Reveal: Always fade-in when you scroll down 1m:38s
- 9. 🛠️ Slide & Reveal: Fine-tuning the animation 1m:23s
- 10. 🛠️ Infinite Scroll: Anatomy 3m:17s
- 11. 🛠️ Infinite Scroll: Infinite load 6m:40s
- 12. 🛠️ Infinite Scroll: Refactor 2m:00s
- 13. 🛠️ Infinite Scroll: Implementing the Infinite Scroll 0m:21s