A

Admin • 828.70K Points
Coach

Q. How do you create a custom event to communicate from a child to a parent component?

  • (A) Use @Output with EventEmitter
  • (B) Use @Input decorator
  • (C) Use a service
  • (D) Use RouterModule
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
EventEmitter allows child components to emit events to parents.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.