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:2711–2713 ·
view source on GitHub ↗
(@Host() someComp: SomeDirective)
Source
from the content-addressed store, hash-verified
2709
class
CompWithHost {
2710
myHost: SomeDirective;
2711
constructor(@Host() someComp: SomeDirective) {
2712
this.myHost = someComp;
2713
}
2714
}
2715
2716
@Component({
Callers
nothing calls this directly
Calls
1
Host
Class · 0.90
Tested by
no test coverage detected