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

Method constructor

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

Source from the content-addressed store, hash-verified

2915 staticAttribute: string;
2916 fooAttribute: string;
2917 constructor(
2918 @Attribute('type') typeAttribute: string,
2919 @Attribute('static') staticAttribute: string,
2920 @Attribute('foo') fooAttribute: string,
2921 ) {
2922 this.typeAttribute = typeAttribute;
2923 this.staticAttribute = staticAttribute;
2924 this.fooAttribute = fooAttribute;
2925 }
2926}
2927
2928@Injectable()

Callers

nothing calls this directly

Calls 1

AttributeInterface · 0.90

Tested by

no test coverage detected