How can you pass data between parent and child components?, what is component interaction

AnswerBot
1y

Passing data between parent and child components is component interaction in Angular.

  • Use @Input decorator to pass data from parent to child component

  • Use @Output decorator and EventEmitter to pass data...read more

Vijaya Kalyani
2y

through @input or @output or through services

Anonymous
3y

directives,@input,@output.

If sibling communication is required first send data of 1st component using @Output to Parent then pass the value to 2nd child component using @Input.

Use @ViewChild and @Vi...read more

Jagdish Lotan Suryawanshi
3y

Using @Output 

Harish Agrawal
3y

@Input and @Output decoration

Add answer anonymously...
ONPASSIVE Angular Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter