UNPKG

750 BTypeScriptView Raw
1import { Animation, NavOptions } from '../../interface';
2export declare const transition: (opts: TransitionOptions) => Promise<TransitionResult>;
3export declare const lifecycle: (el: HTMLElement | undefined, eventName: string) => void;
4export declare const deepReady: (el: any | undefined) => Promise<void>;
5export declare const setPageHidden: (el: HTMLElement, hidden: boolean) => void;
6export declare const getIonPageElement: (element: HTMLElement) => Element;
7export interface TransitionOptions extends NavOptions {
8 progressCallback?: ((ani: Animation | undefined) => void);
9 baseEl: any;
10 enteringEl: HTMLElement;
11 leavingEl: HTMLElement | undefined;
12}
13export interface TransitionResult {
14 hasCompleted: boolean;
15 animation?: Animation;
16}
17
\No newline at end of file