What is the use of @Input and @Output?
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 Parent Component to receive an event from Child to Parent Component.
0 comments:
Post a Comment