Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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

export class ModalComponent { 

 passedData: typeOfData;     //declare it!

 someFunction() {     //or some  lifecycle hook 
  console.log(this.passedData)  //and then, use it!
 }

//rest of the ModalComponent 
}
Source by askcodez.com #
 
PREVIOUS NEXT
Tagged: #utiliser #les #passees #modal #dans #son #propre #composant #en #angular
ADD COMMENT
Topic
Name
7+4 =