MCPcopy Create free account
hub / github.com/angular/angular / HostAttributeToken

Class HostAttributeToken

packages/core/src/di/host_attribute_token.ts:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 * @publicApi
32 */
33export class HostAttributeToken {
34 constructor(private attributeName: string) {}
35
36 /** @internal */
37 __NG_ELEMENT_ID__ = () => ɵɵinjectAttribute(this.attributeName);
38
39 toString(): string {
40 return `HostAttributeToken ${this.attributeName}`;
41 }
42}

Callers

nothing calls this directly

Calls 1

ɵɵinjectAttributeFunction · 0.90

Tested by

no test coverage detected