1 | import { App } from '../components/app/app';
|
2 | import { Config } from '../config/config';
|
3 | import { DeepLinker } from './deep-linker';
|
4 | import { NavOptions } from './nav-util';
|
5 | import { Overlay } from './overlay';
|
6 | export declare class OverlayProxy {
|
7 | _app: App;
|
8 | _component: any;
|
9 | _config: Config;
|
10 | _deepLinker: DeepLinker;
|
11 | overlay: Overlay;
|
12 | _onWillDismiss: Function;
|
13 | _onDidDismiss: Function;
|
14 | constructor(_app: App, _component: any, _config: Config, _deepLinker: DeepLinker);
|
15 | getImplementation(): Overlay;
|
16 | /**
|
17 | * Present the modal instance.
|
18 | *
|
19 | * @param {NavOptions} [navOptions={}] Nav options to go with this transition.
|
20 | * @returns {Promise} Returns a promise which is resolved when the transition has completed.
|
21 | */
|
22 | present(navOptions?: NavOptions): Promise<any>;
|
23 | dismiss(data?: any, role?: string, navOptions?: NavOptions): Promise<any>;
|
24 | |
25 |
|
26 |
|
27 | onDidDismiss(callback: (data: any, role: string) => void): void;
|
28 | createAndPresentOverlay(navOptions: NavOptions): Promise<any>;
|
29 | |
30 |
|
31 |
|
32 | onWillDismiss(callback: Function): void;
|
33 | }
|