Serving Industries Worldwide

Innovative Ways - Satisfied Clientele

Understanding @Output and EventEmitter in Angular

Table of Content 1. What is @Output? 2. Child-Component 3. How @Output Works? 4. Using @Input and @Output together 5. EventEmitter 6. Conclusion What is @Output? As we all know that you can archive two-way data binding with [(ngModel)], but what if we want to share data with one component to another component? To accomplish that we can use @Input and @Output. Let's understand it with one example: We are using a parent component and a child...

read more