A

Admin • 833.24K Points
Coach

Q. How do you emit an event from a child to parent component?

  • (A) Using @Input
  • (B) Using @ViewChild
  • (C) Using @Output and EventEmitter
  • (D) Using @Injectable service
  • Correct Answer - Option(C)
  • Views: 36
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

@Output along with EventEmitter allows child components to emit events to parent components.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.