1 | import { App } from '../app/app';
|
2 | import { AlertButton, AlertInputOptions, AlertOptions } from './alert-options';
|
3 | import { Config } from '../../config/config';
|
4 | import { NavOptions } from '../../navigation/nav-util';
|
5 | import { ViewController } from '../../navigation/view-controller';
|
6 |
|
7 |
|
8 |
|
9 | export declare class Alert extends ViewController {
|
10 | private _app;
|
11 | constructor(app: App, opts: AlertOptions, config: Config);
|
12 | /**
|
13 | * @hidden
|
14 | */
|
15 | getTransitionName(direction: string): string;
|
16 | /**
|
17 | * @param {string} title Alert title
|
18 | */
|
19 | setTitle(title: string): Alert;
|
20 | |
21 |
|
22 |
|
23 | setSubTitle(subTitle: string): Alert;
|
24 | |
25 |
|
26 |
|
27 | setMessage(message: string): Alert;
|
28 | |
29 |
|
30 |
|
31 | addInput(input: AlertInputOptions): Alert;
|
32 | |
33 |
|
34 |
|
35 | addButton(button: AlertButton | string): Alert;
|
36 | |
37 |
|
38 |
|
39 | setCssClass(cssClass: string): Alert;
|
40 | |
41 |
|
42 |
|
43 | setMode(mode: string): void;
|
44 | |
45 |
|
46 |
|
47 |
|
48 |
|
49 |
|
50 | present(navOptions?: NavOptions): Promise<any>;
|
51 | }
|