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.

4 lines (3 loc) 239 B
import type { AnimationParams } from '../animation-interface.js'; import { DragGesture } from '@use-gesture/vanilla'; export declare const handleDrag: (element: HTMLElement, params: AnimationParams | undefined) => DragGesture | undefined;