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

Method constructor

packages/core/test/linker/integration_spec.ts:2741–2749  ·  view source on GitHub ↗
(
    @Attribute('type') typeAttribute: string,
    @Attribute('static') staticAttribute: string,
    @Attribute('foo') fooAttribute: string,
  )

Source from the content-addressed store, hash-verified

2739 staticAttribute: string;
2740 fooAttribute: string;
2741 constructor(
2742 @Attribute('type') typeAttribute: string,
2743 @Attribute('static') staticAttribute: string,
2744 @Attribute('foo') fooAttribute: string,
2745 ) {
2746 this.typeAttribute = typeAttribute;
2747 this.staticAttribute = staticAttribute;
2748 this.fooAttribute = fooAttribute;
2749 }
2750}
2751
2752@Injectable()

Callers

nothing calls this directly

Calls 1

AttributeInterface · 0.90

Tested by

no test coverage detected