Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/core/test/linker/integration_spec.ts:2525–2527 ·
view source on GitHub ↗
(@Host() someComp: SomeDirective)
Source
from the content-addressed store, hash-verified
2523
class
CompWithHost {
2524
myHost: SomeDirective;
2525
constructor(@Host() someComp: SomeDirective) {
2526
this.myHost = someComp;
2527
}
2528
}
2529
2530
@Component({
Callers
nothing calls this directly
Calls
1
Host
Class · 0.90
Tested by
no test coverage detected