docs(dialog): document viewContainerRef config option (#3825)

This commit is contained in:
Mac
2017-04-04 17:49:44 -07:00
committed by Jeremy Elbourn
parent 1d865640b0
commit 59c62893ac
+7
View File
@@ -15,6 +15,13 @@ export interface DialogPosition {
* Configuration for opening a modal dialog with the MdDialog service.
*/
export class MdDialogConfig {
/**
* Where the attached component should live in Angular's *logical* component tree.
* This affects what is available for injection and the change detection order for the
* component instantiated inside of the dialog. This does not affect where the dialog
* content will be rendered.
*/
viewContainerRef?: ViewContainerRef;
/** The ARIA role of the dialog element. */