0 votes
in Angular by
What is the use of @Input and @Output?

1 Answer

0 votes

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. 

Related questions

+1 vote
asked Jul 5, 2022 in Angular by sharadyadav1986
0 votes
asked Feb 24 in Angular by SakshiSharma