components
components copied to clipboard
docs-bug(cdk-dialog): CDK Dialog docs missing explanation on how to access dialogRef when using a TemplateRef
Documentation Feedback
The docs are clear on how to access the data when opening a modal using a TemplateRef--you can use let-data
. But it is silent on how to access the dialogRef
, which is needed if you want to, for example, close the modal. By inspecting the code, I figured out I could use let-dialogRef="dialogRef"
, but it wasn't obvious.
Affected documentation page
https://material.angular.io/cdk/dialog/overview
Hi @karptonite Can you please assign this issue to me? Thank you.
I don't think I have authority to assign issues.
Adding @crisbeto for ref.
@Nik-09 you still working on this?
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.