We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94adecd commit b808256Copy full SHA for b808256
src/lib/dialog/dialog.md
@@ -17,7 +17,7 @@ The `MdDialogRef` provides a handle on the opened dialog. It can be used to clos
17
receive notification when the dialog has been closed.
18
19
```ts
20
-dialogRef.afterClosed.subscribe(result => {
+dialogRef.afterClosed().subscribe(result => {
21
console.log(`Dialog result: ${result}`); // Pizza!
22
});
23
@@ -76,4 +76,4 @@ that the AOT compiler knows to create the `ComponentFactory` for it.
76
bootstrap: [AppComponent]
77
})
78
export class AppModule() {}
79
-```
+```
0 commit comments