Svelte-Scroll-Observer Svelte Themes

Svelte Scroll Observer

Svelte Scroll Observer

- Syntactic Sugar for the IntersectionObserver api.

- Compatable with SvelteKit.

Usage:

<ScrollObserver>

<ScrollObserver bind:showing={isSectionOneShowing}>

<ScrollObserver transition={(element) => slide(element)}>

<ScrollObserver showOnce transition={(element) => fade(element)}>

Top categories

Loading Svelte Themes