A

Admin • 802.91K Points
Coach

Q. What is the role of `@Input()` in Angular?

  • (A) To pass data from parent to child component
  • (B) To emit data to parent component
  • (C) To inject services
  • (D) To create a form control
  • Correct Answer - Option(A)
  • Views: 3
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
`@Input()` allows data to be received from a parent component.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.