UNPKG

@ssgoi/core

Version:

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

21 lines 642 B
import { SggoiTransition, PhysicsOptions } from '../types'; interface JaeminOptions { physics?: PhysicsOptions; initialRotation?: number; initialScale?: number; rotationTriggerPoint?: number; } /** * Jaemin Transition * * Implements a shared element transition where: * 1. Page A fades out * 2. Page B appears rotated and scaled down at center * 3. Page B scales up while rotating back to normal * * Based on analyzed animation log data showing 45° rotation over 1.728s * Created by Jaemin */ export declare const jaemin: (options?: JaeminOptions) => SggoiTransition; export {}; //# sourceMappingURL=jaemin.d.ts.map