UNPKG

@ssgoi/core

Version:

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

12 lines 472 B
import { SpringConfig, Transition, TransitionKey } from '../types'; interface MaskOptions { shape?: "circle" | "ellipse" | "square"; origin?: "center" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right"; scale?: number; fade?: boolean; spring?: Partial<SpringConfig>; key?: TransitionKey; } export declare const mask: (options?: MaskOptions) => Transition; export {}; //# sourceMappingURL=mask.d.ts.map