Answers for "Abrir dialog angular material"

0

abrir dialog angular material

close(): void {
  this.dialogo.close(/data que quieres emitir al cerrar el modal/);
 }
Posted by: Guest on April-27-2022
0

Abrir dialog angular material

openDialog() {
  const dialogRef = this.dialog.open(DialogContentEditEducation, {data: 
  idEnviado});
}
Posted by: Guest on April-27-2022
0

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});
 }
Posted by: Guest on April-27-2022
0

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
  ) { }
Posted by: Guest on April-27-2022

Code answers related to "Abrir dialog angular material"

Browse Popular Code Answers by Language