Answers for "angular stop dialog stacking"

0

angular stop dialog stacking

constructor(
    private dialog: MatDialog,
  ) { }

const errMsg = this.dialog.open(ErrorMessageDialog);

errMsg.afterClosed().subscribe(result => {
	this.dialog.closeAll();
});
Posted by: Guest on March-18-2022

Code answers related to "TypeScript"

Browse Popular Code Answers by Language