Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ create
Function
create
modules/benchmarks/src/styling/ng2/init.ts:26–30 ·
view source on GitHub ↗
(tplRefIdx: number)
Source
from the content-addressed store, hash-verified
24
const
items: number[] = [];
25
26
function
create(tplRefIdx: number) {
27
component.tplRefIdx = tplRefIdx;
28
component.data = items;
29
appRef.tick();
30
}
31
32
function
destroy() {
33
component.data = empty;
Callers
2
init
Function · 0.70
profile
Function · 0.50
Calls
1
tick
Method · 0.65
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…