UNPKG

@jhubbardsf/svelte-inview

Version:

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.

4 lines (3 loc) 94 B
import './additional-svelte-jsx'; export { inview } from './inview'; export * from './types';