abrir dialog angular material
close(): void {
this.dialogo.close(/data que quieres emitir al cerrar el modal/);
}
abrir dialog angular material
close(): void {
this.dialogo.close(/data que quieres emitir al cerrar el modal/);
}
Abrir dialog angular material
openDialog() {
const dialogRef = this.dialog.open(DialogContentEditEducation, {data:
idEnviado});
}
abrir dialog angular material
openDialog() {
const dialogRef = this.dialog.open(DialogContentEditEducation, {data:
idEnviado});
dialogRef.afterClosed().subscribe(data => {//data llegando de respuesta
al cerrar el modal});
}
Abrir dialog angular material
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
.
.
.
constructor(
public dialogo: MatDialogRef<TuDialogoComponent>,
@Inject(MAT_DIALOG_DATA) public data: string
) { }
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us