md2
Version:
Angular2 based Material Design components, directives and services are Accordion, Autocomplete, Chips(Tags), Collapse, Colorpicker, Data Table, Datepicker, Dialog(Modal), Menu, Multiselect, Select, Tabs, Tags(Chips), Toast and Tooltip.
32 lines (31 loc) • 1.21 kB
TypeScript
import { Optional } from '@angular/core';
/**
* 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 {
protected _containerElement: HTMLElement;
private _themeClass;
/**
* Base theme to be applied to all overlay-based components.
*/
themeClass: string;
/**
* 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 the container element
*/
getContainerElement(): HTMLElement;
/**
* Create the overlay container element, which is simply a div
* with the 'cdk-overlay-container' class on the document body.
*/
protected _createContainer(): void;
}
export declare function OVERLAY_CONTAINER_PROVIDER_FACTORY(parentContainer: OverlayContainer): OverlayContainer;
export declare const OVERLAY_CONTAINER_PROVIDER: {
provide: typeof OverlayContainer;
deps: Optional[][];
useFactory: (parentContainer: OverlayContainer) => OverlayContainer;
};