Back to Browse

A very simplified guide on the Intersection Observer API, with examples

9.7K views
Dec 19, 2023
21:47

While there are many libraries out there for intersection animations, you can also use the INTERSECTION OBSERVER API in JavaScript. This API allows you to observer intersections of elements, and trigger things like transitions, lazy-loading and lots more. In this video, I help you understand how this API works, and show you some transition examples. Codepen link: https://codepen.io/Dillion/pen/abXyZKw Helpful resources: * Visibility vs Display: https://youtu.be/nMq3U65wAdQ _____ Subscribe to My Channel: https://bit.ly/deeecode _____ 🌟 About Me: Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos. _____ ⚡️ Connect with me: - Personal youtube: https://youtube.com/c/dillionmegida - Personal website: https://dillionmegida.com/ - Twitter: https://twitter.com/iamdillion - Instagram: https://www.instagram.com/deeecode/ - LinkedIn: https://www.linkedin.com/in/dillionmegida/ - GitHub: https://github.com/dillionmegida

Download

1 formats

Video Formats

360pmp447.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

A very simplified guide on the Intersection Observer API, with examples | NatokHD