File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ let dialogRef = dialog.open(UserProfileComponent, {
14
14
```
15
15
16
16
The ` MatDialogRef ` provides a handle on the opened dialog. It can be used to close the dialog and to
17
- receive notification when the dialog has been closed.
17
+ receive notifications when the dialog has been closed. Any notification Observables will complete when the dialog closes .
18
18
19
19
``` ts
20
20
dialogRef .afterClosed ().subscribe (result => {
@@ -26,7 +26,7 @@ dialogRef.close('Pizza!');
26
26
27
27
Components created via ` MatDialog ` can _ inject_ ` MatDialogRef ` and use it to close the dialog
28
28
in which they are contained. When closing, an optional result value can be provided. This result
29
- value is forwarded as the result of the ` afterClosed ` promise .
29
+ value is forwarded as the result of the ` afterClosed ` Observable .
30
30
31
31
``` ts
32
32
@Component ({/* ... */ })
You can’t perform that action at this time.
0 commit comments