A

Admin • 828.70K Points
Coach

Q. How can you pass data from a parent to a child component?

  • (A) Using @Input
  • (B) Using @Output
  • (C) Using a service
  • (D) Using ngModel
  • Correct Answer - Option(A)
  • Views: 15
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
The @Input decorator allows parent components to pass data to child components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.