Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set @Output through modalref angular

openModal() {
  const modalRef = this.modalService.open(ModalContentComponent);
  modalRef.componentInstance.user = this.user;
  modalRef.componentInstance.passEntry.subscribe((receivedEntry) => {
  	console.log(receivedEntry);
  })
}
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #set #modalref #angular
ADD COMMENT
Topic
Name
3+9 =