Detect if an element is in the viewport using the Intersection Observer API
svelte typescript-definitions viewport lazy-loading conditional intersection-observer svelte-component intersection-event
-
Updated
Feb 2, 2025 - Svelte