Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ createContent
Method
createContent
packages/core/test/acceptance/content_spec.ts:1896–1898 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1894
@ViewChild(
'ref'
, {read: ViewContainerRef}) viewContainerRef!: ViewContainerRef;
1895
1896
createContent() {
1897
this.viewContainerRef.createEmbeddedView(this.template);
1898
}
1899
}
1900
1901
@Component({
Callers
1
content_spec.ts
File · 0.80
Calls
1
createEmbeddedView
Method · 0.65
Tested by
no test coverage detected