Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Component({...})
- export class ParentComponent implements AfterContentInit {
- @ContentChildren(ChildComponent)
- public children: QueryList<ChildComponent>;
- public ngAfterContentInit(): void {
- this.children.changes.subscribe(() => ....);
- }
- }
Add Comment
Please, Sign In to add comment