C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
3
Reply
What are Event emitters in Angular 2 ?
Sanwar Ranwa
7y
1.9k
1
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
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 Shukla
7y
2
In simple words, event emitters are used to send a data or message from child component to parent component.
Mayank
7y
1
https://dzone.com/articles/understanding-output-and-eventemitter-in-angular
Sanghamitra Mohanty
7y
1
How to cache an observable data in Angular 2?
What is AOT compilation?
Message