A

Admin • 825.56K Points
Coach

Q. How do you pass data to a child component?

  • (A) Using @Inject
  • (B) Using @ViewChild
  • (C) Using @Input
  • (D) Using @Output
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
Data is passed to child components using the @Input decorator.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.