UNPKG

svelte-intersection-observer

Version:

Detects when an element enters or exits the viewport using the Intersection Observer API.

9 lines (8 loc) 345 B
export { createIntersectionObserver } from "./create-intersection-observer.svelte.js"; export { default } from "./IntersectionObserver.svelte"; export { createIntersectionGroup, intersect, intersectAttachment, } from "./intersect.svelte.js"; export { default as MultipleIntersectionObserver } from "./MultipleIntersectionObserver.svelte";