UNPKG

svelte-ux

Version:

- Increment version in `package.json` and commit as `Version bump to x.y.z` - `npm run publish`

28 lines (27 loc) 732 B
import { cubicOut } from 'svelte/easing'; export declare function fly(node: any, { delay, duration, easing, x, y, opacity, }?: { delay?: number; duration?: number; easing?: typeof cubicOut; x?: string | number; y?: string | number; opacity?: number; }): { delay: number; duration: number; easing: typeof cubicOut; css: (t: any, u: any) => string; }; /** * Slide for horizontal (left/right) instead of vertical (top/bottom) */ export declare function horizontalSlide(node: any, { delay, duration, easing }?: { delay?: number; duration?: number; easing?: typeof cubicOut; }): { delay: number; duration: number; easing: typeof cubicOut; css: (t: any) => string; };