Component Communication Cookbook

Pass data from parent to child with input binding ("Heroes")
Intercept input property changes with a setter ("Master")
Intercept input property changes with ngOnChanges ("Source code version")
Parent listens for child event ("Colonize Universe")
Parent to child via local variable("Countdown to Liftoff")
Parent calls ViewChild("Countdown to Liftoff")
Parent and children communicate via a service ("Mission Control")
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top