diff --git a/src/cdk/dialog/dialog.md b/src/cdk/dialog/dialog.md index fb7e1c95e16b..b5b7ae84841d 100644 --- a/src/cdk/dialog/dialog.md +++ b/src/cdk/dialog/dialog.md @@ -159,6 +159,14 @@ If you're using a `TemplateRef` for your dialog content, the data is available i ``` +If you're using a `TemplateRef` and need to access the `DialogRef`, you can use the following: + +```html + + Hello, {{data.name}} + +``` + ### Accessibility