UNPKG

954 BTypeScriptView Raw
1import { OnDestroy } from '@angular/core';
2import * as i0 from "@angular/core";
3/** Container inside which all toasts will render. */
4export declare class OverlayContainer implements OnDestroy {
5 protected _document: Document;
6 protected _containerElement: HTMLElement;
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 * and 'aria-live="polite"'
19 */
20 protected _createContainer(): void;
21 static ɵfac: i0.ɵɵFactoryDeclaration<OverlayContainer, never>;
22 static ɵprov: i0.ɵɵInjectableDeclaration<OverlayContainer>;
23}