MCPcopy Index your code
hub / github.com/angular/angular / constructor

Method constructor

packages/examples/core/ts/metadata/metadata.ts:18–20  ·  view source on GitHub ↗
(@Attribute('title') title: string)

Source from the content-addressed store, hash-verified

16class Page {
17 title: string;
18 constructor(@Attribute('title') title: string) {
19 this.title = title;
20 }
21}
22// #enddocregion
23

Callers

nothing calls this directly

Calls 1

AttributeInterface · 0.90

Tested by

no test coverage detected