UNPKG

979 BTypeScriptView Raw
1import { AfterViewInit, ElementRef, Renderer } from '@angular/core';
2import { Config } from '../../config/config';
3import { NavParams } from '../../navigation/nav-params';
4import { ViewController } from '../../navigation/view-controller';
5/**
6 * @hidden
7 */
8export declare class ToastCmp implements AfterViewInit {
9 _viewCtrl: ViewController;
10 _config: Config;
11 _elementRef: ElementRef;
12 d: {
13 message?: string;
14 cssClass?: string;
15 duration?: number;
16 showCloseButton?: boolean;
17 closeButtonText?: string;
18 dismissOnPageChange?: boolean;
19 position?: string;
20 };
21 descId: string;
22 dismissTimeout: number;
23 enabled: boolean;
24 hdrId: string;
25 id: number;
26 constructor(_viewCtrl: ViewController, _config: Config, _elementRef: ElementRef, params: NavParams, renderer: Renderer);
27 ngAfterViewInit(): void;
28 ionViewDidEnter(): void;
29 cbClick(): void;
30 dismiss(role: string): Promise<any>;
31}