app-root.d.ts 1.1KB

1234567891011121314151617181920212223242526272829303132
  1. import { ComponentFactoryResolver, ElementRef, InjectionToken, OnInit, Renderer, ViewContainerRef } from '@angular/core';
  2. import { App } from './app';
  3. import { Config } from '../../config/config';
  4. import { Ion } from '../ion';
  5. import { OverlayPortal } from './overlay-portal';
  6. import { Platform } from '../../platform/platform';
  7. export declare const AppRootToken: InjectionToken<any>;
  8. /**
  9. * @hidden
  10. */
  11. export declare class IonicApp extends Ion implements OnInit {
  12. private _userCmp;
  13. private _cfr;
  14. private _plt;
  15. private _stopScrollPlugin;
  16. private _tmr;
  17. _viewport: ViewContainerRef;
  18. _modalPortal: OverlayPortal;
  19. _overlayPortal: OverlayPortal;
  20. _loadingPortal: OverlayPortal;
  21. _toastPortal: OverlayPortal;
  22. constructor(_userCmp: any, _cfr: ComponentFactoryResolver, elementRef: ElementRef, renderer: Renderer, config: Config, _plt: Platform, app: App);
  23. ngOnInit(): void;
  24. /**
  25. * @hidden
  26. */
  27. _getPortal(portal?: number): OverlayPortal;
  28. _getActivePortal(): OverlayPortal;
  29. _disableScroll(shouldDisableScroll: boolean): void;
  30. stopScroll(): Promise<boolean>;
  31. }