UNPKG

rune-scroller

Version:

Lightweight, high-performance scroll animations for Svelte 5. ~2KB bundle, zero dependencies.

17 lines (16 loc) 476 B
import type { Snippet } from 'svelte'; import type { AnimationType } from './animations'; interface Props { animation?: AnimationType; threshold?: number; rootMargin?: string; offset?: number; duration?: number; delay?: number; repeat?: boolean; children: Snippet; [key: string]: any; } declare const RuneScroller: import("svelte").Component<Props, {}, "">; type RuneScroller = ReturnType<typeof RuneScroller>; export default RuneScroller;