@angular2-material/core
Version:
Angular 2 Material core
20 lines (19 loc) • 724 B
TypeScript
/**
* The OverlayContainer is the container in which all overlays will load.
* It should be provided in the root component to ensure it is properly shared.
*/
export declare class OverlayContainer {
private _containerElement;
/**
* This method returns the overlay container element. It will lazily
* create the element the first time it is called to facilitate using
* the container in non-browser environments.
* @returns {HTMLElement} the container element
*/
getContainerElement(): HTMLElement;
/**
* Create the overlay container element, which is simply a div
* with the 'md-overlay-container' class on the document body.
*/
private _createContainer();
}