overlay-container.d.ts 777 B

1234567891011121314151617181920
  1. import { OnDestroy } from '@angular/core';
  2. /** Container inside which all toasts will render. */
  3. export declare class OverlayContainer implements OnDestroy {
  4. protected _document: any;
  5. protected _containerElement: HTMLElement;
  6. constructor(_document: any);
  7. ngOnDestroy(): void;
  8. /**
  9. * This method returns the overlay container element. It will lazily
  10. * create the element the first time it is called to facilitate using
  11. * the container in non-browser environments.
  12. * @returns the container element
  13. */
  14. getContainerElement(): HTMLElement;
  15. /**
  16. * Create the overlay container element, which is simply a div
  17. * with the 'cdk-overlay-container' class on the document body.
  18. */
  19. protected _createContainer(): void;
  20. }