Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

utiliser les données passees a un modal dans son propre composant en angular

const modalRef = this.modalService.open(ModalComponent);

modalRef.componentInstance.passedData= this.dataToPass;

modalRef.result.then(result => {
  //do something with result
}                                                       
Source by askcodez.com #
 
PREVIOUS NEXT
Tagged: #utiliser #les #passees #modal #dans #son #propre #composant #en #angular
ADD COMMENT
Topic
Name
5+1 =