DEV Community

Dharmen Shah for Angular Material Dev

Posted on

3 1 1 1 1

Close Angular Material Dialog Programmatically

🤔 Ever wondered how to close #angular material dialog programmatically?

💡Use MatDialogContainer to get dialog's ID and use it to close from MatDialog service!

Top comments (1)

Collapse
 
jangelodev profile image
João Angelo •

Hi Dharmen Shah,
Thanks for sharing.

Image of PulumiUP 2025

Let's talk about the current state of cloud and IaC, platform engineering, and security.

Dive into the stories and experiences of innovators and experts, from Startup Founders to Industry Leaders at PulumiUP 2025.

Register Now

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay