UNPKG

lath

Version:

Seamless connection of pages.

14 lines (13 loc) 807 B
import { SegueState } from './State'; import { SegueAnimateState, AnimationConfig, AnimationPrestType, Applet } from '../types'; declare type SegueAnimateFn = (e: SegueAnimateState) => undefined | Promise<boolean>; declare class SegueAnimation extends SegueState { checkAnimationNamed(): boolean; checkNativeAnimation(): boolean; getAnimationNames(): AnimationPrestType | boolean | undefined | AnimationConfig; getAnimationGroup(): Promise<[SegueAnimateFn, SegueAnimateFn] | SegueAnimateFn | undefined>; getAnimationOneSide(backset: number): Promise<SegueAnimateFn | undefined>; preloadAnimation(applet: Applet): void; getAnimationByName(type: AnimationPrestType): Promise<[SegueAnimateFn, SegueAnimateFn] | SegueAnimateFn | undefined>; } export { SegueAnimation };