You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(Dialog): Public API for dialog component ComponentRef #27534
Expose the ComponentRef of the component dialog is shown as a property of MatDialogRef:
const{componentRef}=dialogRef
Use Case
I have a custom helper that allows for seamless routing to dialogs, as if these were regular routes. Angular 16 added "Passing router data as component inputs" that I really liked enough to update the dialog helper, achieving the same result. Unfortunately, the only way to grab a ComponentRef off MatDialogRef is with private API:
Activity
feat(material/dialog): expose rendered ComponentRef
feat(material/dialog): expose rendered ComponentRef
feat(material/dialog): expose rendered ComponentRef
angular-automatic-lock-bot commentedon Aug 31, 2023
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.