mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(dialog): document viewContainerRef config option (#3825)
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user