toast-component.d.ts 979B

1234567891011121314151617181920212223242526272829303132
  1. import { AfterViewInit, ElementRef, Renderer } from '@angular/core';
  2. import { Config } from '../../config/config';
  3. import { NavParams } from '../../navigation/nav-params';
  4. import { ViewController } from '../../navigation/view-controller';
  5. /**
  6. * @hidden
  7. */
  8. export 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. }