UNPKG

724 BTypeScriptView Raw
1/**
2 * The OverlayContainer is the container in which all overlays will load.
3 * It should be provided in the root component to ensure it is properly shared.
4 */
5export declare class OverlayContainer {
6 private _containerElement;
7 /**
8 * This method returns the overlay container element. It will lazily
9 * create the element the first time it is called to facilitate using
10 * the container in non-browser environments.
11 * @returns {HTMLElement} the container element
12 */
13 getContainerElement(): HTMLElement;
14 /**
15 * Create the overlay container element, which is simply a div
16 * with the 'md-overlay-container' class on the document body.
17 */
18 private _createContainer();
19}