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

Method getLabel

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

Source from the content-addressed store, hash-verified

1266 @Input('cdkTreeNodeTypeaheadLabel') typeaheadLabel: string | null = null;
1267
1268 getLabel(): string {
1269 return this.typeaheadLabel || this._elementRef.nativeElement.textContent?.trim() || '';
1270 }
1271
1272 /** This emits when the node has been programatically activated or activated by keyboard. */
1273 @Output()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected