Svelte action that leverages the Intersection Observer API to trigger reveal on scroll transitions
Last modified
A Svelte action that monitors an element enters or leaves the viewport or a parent element. Performant and efficient thanks to using Intersection Observer under the hood.
- svelteobserverobservingintersectionviewportinviewportin-viewin-viewportinviewobservewaypointintersection-observerintersection-observer-apiperformancemonitorscroll-directionscrolldirectionlazylazy-loadingscrollinganimationscompilecompilerrootroot-marginthresholdvisibilityvisibleinfinite-scrollinginfinitescrollingintersectingasyncasynchronouslyasynchronouspreloaddetect
Last modified