Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
16
class
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
Attribute
Interface · 0.90
Tested by
no test coverage detected