Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/core/test/linker/integration_spec.ts:2490–2492 ·
view source on GitHub ↗
(@Host() someComp: SomeDirective)
Source
from the content-addressed store, hash-verified
2488
class
CompWithHost {
2489
myHost: SomeDirective;
2490
constructor(@Host() someComp: SomeDirective) {
2491
this.myHost = someComp;
2492
}
2493
}
2494
2495
@Component({
Callers
nothing calls this directly
Calls
1
Host
Class · 0.90
Tested by
no test coverage detected