A

Admin • 828.70K Points
Coach

Q. Which decorator is used to receive data from a parent component?

  • (A) @Input
  • (B) @Output
  • (C) @Injectable
  • (D) @HostListener
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
@Input allows a child component to receive data from its parent.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.