• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Angular by
Q:
What is the use of @Input and @Output?

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. 

Related questions

0 votes
asked Sep 13, 2019 in Angular by ivor2019
+1 vote
asked Jan 15, 2020 in Angular by rahuljain1
...