Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngAfterViewInit
Method
ngAfterViewInit
src/material/tabs/tab-body.spec.ts:151–153 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
149
private readonly _viewContainerRef = inject(ViewContainerRef);
150
151
ngAfterViewInit() {
152
this.content.set(
new
TemplatePortal(this.template, this._viewContainerRef));
153
}
154
}
Callers
nothing calls this directly
Calls
1
set
Method · 0.80
Tested by
no test coverage detected