in Angular by
Q:
What is the use of @Input and @Output?

▼ Show 1 Answer

0 votes
by

When it comes to the communication of Angular Components, which are in Parent-Child Relationship; we use @Input in Child Component when we are passing data from Parent to Child Component and @Output is used in Child Component to receive an event from Child to Parent Component. 

Angular JS
Learn More with Madanswer

Related questions

0 votes
asked Jan 15, 2020 in Angular by rahuljain1
...