UNPKG

@ssgoi/core

Version:

Core animation engine for SSGOI - Native app-like page transitions with spring physics

27 lines 636 B
interface ScaleOptions { start?: number; opacity?: number; axis?: 'x' | 'y' | 'both'; spring?: { stiffness?: number; damping?: number; }; } export declare const scale: (options?: ScaleOptions) => { in: (element: HTMLElement) => { spring: { stiffness?: number; damping?: number; }; tick: (progress: number) => void; }; out: (element: HTMLElement) => { spring: { stiffness?: number; damping?: number; }; tick: (progress: number) => void; }; }; export {}; //# sourceMappingURL=scale.d.ts.map