UNPKG

@omicrxn/mercury

Version:

Mercury is a Svelte animation library using AnimeJS under the hood. It simplifies complex animations with Svelte actions, provides layout and exit animations, and integrates seamlessly with Svelte features.

9 lines (8 loc) 277 B
import type { PresenceAnimation } from './animation-interface.js'; export declare const presence: (element: HTMLElement, params: PresenceAnimation, options: { direction: "in" | "out" | "both"; }) => { duration: number; delay: number; tick: (t: any) => void; };