Skip to content

Commit 59c6289

Browse files
M-a-cjelbourn
authored andcommitted
docs(dialog): document viewContainerRef config option (#3825)
1 parent 1d86564 commit 59c6289

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/lib/dialog/dialog-config.ts

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ export interface DialogPosition {
1515
* Configuration for opening a modal dialog with the MdDialog service.
1616
*/
1717
export class MdDialogConfig {
18+
19+
/**
20+
* Where the attached component should live in Angular's *logical* component tree.
21+
* This affects what is available for injection and the change detection order for the
22+
* component instantiated inside of the dialog. This does not affect where the dialog
23+
* content will be rendered.
24+
*/
1825
viewContainerRef?: ViewContainerRef;
1926

2027
/** The ARIA role of the dialog element. */

0 commit comments

Comments
 (0)