#9 @Input and @Output and EventEmitter
codewithvinod codewithvinod
1.39K subscribers
7 views
0

 Published On Jan 18, 2024

@Input() and @Output() give a child component a way to communicate with its parent component.
@Input(): lets a parent component update data in the child component. Conversely
@Output(): lets the child send data to a parent component.

EventEmitter : Use in components with the @Output directive to emit custom events synchronously

show more

Share/Embed