In this video I have show you the how to work with Component interaction in Angular. I have covered the most of the sub topic of component interaction in this video.
- Parent to child interaction
- Child to parent interaction
1. Pass data from Parent to Child Component
2. Intercept the property changes with ngOnChanges()
3. Parent listens for child event.
I have used the below things
a) @Input
b) @Output and EventEmitter.
c) ngOnChanges()
0 Comments