A

Admin • 833K Points
Coach

Q. What decorator is used to emit events from child to parent components?

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

Explanation by: Admin

@Output paired with EventEmitter sends events from child to parent.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.