Components can communicate with each other in various ways, including:
Parent to Child: via Input
Child to Parent: via Output() and EventEmitter
Child to Parent: via ViewChild
Unrelated Components: via a Service
No comments:
Post a Comment