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

Optimize, customize, deliver, manage and analyze your images.

Remove background in all your web images at the same time, use outpainting to expand images with matching content, remove objects via open-set object detection and fill, recolor, crop, resize... Discover these and hundreds more ways to manage your web images and videos on a scale.

Learn more