MCPcopy Create free account
hub / github.com/angular/components / constructor

Method constructor

src/cdk/tree/tree.ts:1388–1390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1386 private _changeDetectorRef = inject(ChangeDetectorRef);
1387
1388 constructor() {
1389 CdkTreeNode.mostRecentTreeNode = this as CdkTreeNode<T, K>;
1390 }
1391
1392 ngOnInit(): void {
1393 this._parentNodeAriaLevel = getParentNodeAriaLevel(this._elementRef.nativeElement);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected