Interviews3 answers
What are Event emitters in Angular 2 ?
3 Answers
In simple words, event emitters are used to send a data or message from child component to parent component.
MayankPosted Sep 10, 2018, 2:31 AM EDT
EventEmitter is an angular2 abstraction and its only purpose is to emit events in components. Quoting a comment from Rob Wormald
[...] EventEmitter is really an Angular abstraction and should be used pretty much only for emitting custom Events in components. Otherwise, just use Rx as if it was any other library.
This is stated really clear in EventEmitter's documentation.
Use by directives and components to emit custom Events.
Shivam ShuklaPosted Jun 27, 2018, 5:28 AM EDT
https://dzone.com/articles/understanding-output-and-eventemitter-in-angular
Sanghamitra MohantyPosted Jun 13, 2018, 3:23 AM EDT


