UNPKG

@ssgoi/core

Version:

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

7 lines 494 B
import { Transition, TransitionCallback } from '../types'; import { StrategyContext, TransitionStrategy } from './transition-strategy'; export declare function createTransitionCallback<TAnimationValue = number>(getTransition: () => Transition<undefined, TAnimationValue>, options?: { onCleanupEnd?: () => void; strategy?: (context: StrategyContext<TAnimationValue>) => TransitionStrategy<TAnimationValue>; }): TransitionCallback; //# sourceMappingURL=create-transition-callback.d.ts.map