Dialog MAT Nonaktifkan Tutup
this.dialog.open(DialogComponent, { disableClose: true });
RenyDev
this.dialog.open(DialogComponent, { disableClose: true });
@Component({/* ... */})
export class YourDialog {
constructor(public dialogRef: MatDialogRef<YourDialog>) { }
closeDialog() {
this.dialogRef.close('Pizza!');
}
}