svelte-intersection-observer
Version:
Detects when an element enters or exits the viewport using the Intersection Observer API.
16 lines (15 loc) • 589 B
TypeScript
export type { IntersectionObserverState } from "./create-intersection-observer.svelte.js";
export { createIntersectionObserver } from "./create-intersection-observer.svelte.js";
export { default } from "./IntersectionObserver.svelte";
export type {
IntersectActionOptions,
IntersectGroupNodeOptions,
IntersectGroupSharedOptions,
IntersectionGroup,
} from "./intersect.svelte.js";
export {
createIntersectionGroup,
intersect,
intersectAttachment,
} from "./intersect.svelte.js";
export { default as MultipleIntersectionObserver } from "./MultipleIntersectionObserver.svelte";