File tree 1 file changed +0
-31
lines changed
1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -118,37 +118,6 @@ You can control which elements are tab stops with the `tabindex` attribute
118
118
119
119
<!-- example(dialog-content) -->
120
120
121
- ### Configuring dialog content via ` entryComponents `
122
-
123
- Because ` MatDialog ` instantiates components at run-time, the Angular compiler needs extra
124
- information to create the necessary ` ComponentFactory ` for your dialog content component.
125
-
126
- For any component loaded into a dialog, you must include your component class in the list of
127
- ` entryComponents ` in your NgModule definition so that the Angular compiler knows to create
128
- the ` ComponentFactory ` for it.
129
-
130
- ``` ts
131
- @NgModule ({
132
- imports: [
133
- // ...
134
- MatDialogModule
135
- ],
136
-
137
- declarations: [
138
- AppComponent ,
139
- ExampleDialogComponent
140
- ],
141
-
142
- entryComponents: [
143
- ExampleDialogComponent
144
- ],
145
-
146
- providers: [],
147
- bootstrap: [AppComponent ]
148
- })
149
- export class AppModule {}
150
- ```
151
-
152
121
### Controlling the dialog animation
153
122
You can control the duration of the dialog's enter and exit animations using the
154
123
` enterAnimationDuration ` and ` exitAnimationDuration ` options. If you want to disable the dialog's
You can’t perform that action at this time.
0 commit comments