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

Method constructor

src/material/tree/node.ts:108–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 constructor() {
109 super();
110
111 const tabIndex = inject(new HostAttributeToken('tabindex'), {optional: true});
112 this.tabIndexInputBinding = Number(tabIndex) || this.defaultTabIndex;
113 }
114
115 // This is a workaround for https://github.com/angular/angular/issues/23091
116 // In aot mode, the lifecycle hooks from parent class are not called.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected