Child listens for parent event in Angular 2
For the sake of posterity, just thought I’d mention the more conventional solution to this: Simply obtain a reference to the ViewChild then call one of its methods directly. @Component({ selector: ‘app-child’ }) export class ChildComponent { notifyMe() { console.log(‘Event Fired’); } } @Component({ selector: ‘app-parent’, template: `<app-child #child></app-child>` }) export class ParentComponent { @ViewChild(‘child’) … Read more