From 8466673314f65ca91d35fee6363aa0236933186d Mon Sep 17 00:00:00 2001 From: Mac Date: Tue, 28 Mar 2017 14:18:29 -0700 Subject: [PATCH] docs(dialog-config-ts): MdDialogConfig viewContainerRef --- src/lib/dialog/dialog-config.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/dialog/dialog-config.ts b/src/lib/dialog/dialog-config.ts index 37337591776f..30870ff7ef9a 100644 --- a/src/lib/dialog/dialog-config.ts +++ b/src/lib/dialog/dialog-config.ts @@ -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. */