Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ Ng2HeroesComponent
Class
Ng2HeroesComponent
packages/examples/upgrade/static/ts/full/module.ts:58–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
standalone: false,
57
})
58
export
class
Ng2HeroesComponent {
59
heroes = input<Hero[]>([]);
60
addHero = output<void>();
61
removeHero = output<Hero>();
62
}
63
// #enddocregion
64
65
// #docregion ng2-heroes-service
Callers
nothing calls this directly
Calls
2
output
Function · 0.90
input
Function · 0.85
Tested by
no test coverage detected