()
| 59 | nodeOutlet!: QueryList<CdkTreeNodeOutlet>; |
| 60 | |
| 61 | ngAfterContentInit() { |
| 62 | this._dataDiffer = this._differs.find([]).create(this._tree.trackBy); |
| 63 | this._tree |
| 64 | ._getDirectChildren(this.data) |
| 65 | .pipe(takeUntil(this._destroyed)) |
| 66 | .subscribe(result => this.updateChildrenNodes(result)); |
| 67 | this.nodeOutlet.changes |
| 68 | .pipe(takeUntil(this._destroyed)) |
| 69 | .subscribe(() => this.updateChildrenNodes()); |
| 70 | } |
| 71 | |
| 72 | override ngOnDestroy() { |
| 73 | this._clear(); |
nothing calls this directly
no test coverage detected