Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ constructor
Method
constructor
packages/core/test/acceptance/di_spec.ts:1875–1875 ·
view source on GitHub ↗
(public templateRef: TemplateRef<any>)
Source
from the content-addressed store, hash-verified
1873
})
1874
class
ChildComp {
1875
constructor(public templateRef: TemplateRef<any>) {}
1876
@ViewChild(MyDir) directive!: MyDir;
1877
}
1878
Callers
nothing calls this directly
Calls
1
SkipSelf
Interface · 0.90
Tested by
no test coverage detected