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.

Cloudinary image

Zoom pan, gen fill, restore, overlay, upscale, crop, resize...

Chain advanced transformations through a set of image and video APIs while optimizing assets by 90%.

Explore