Detect if an Element is in the Viewport
"Svelte Intersection Observer helps you detect if an element is in the viewport using the Intersection Observer API."
Eric Liu