MCPcopy Index your code
hub / github.com/angular/angular / createViewBlueprint

Function createViewBlueprint

packages/core/src/render3/view/construction.ts:129–137  ·  view source on GitHub ↗
(bindingStartIndex: number, initialViewLength: number)

Source from the content-addressed store, hash-verified

127}
128
129function createViewBlueprint(bindingStartIndex: number, initialViewLength: number): LView {
130 const blueprint = [];
131
132 for (let i = 0; i < initialViewLength; i++) {
133 blueprint.push(i < bindingStartIndex ? null : NO_CHANGE);
134 }
135
136 return blueprint as LView;
137}
138
139/**
140 * Gets TView from a template function or creates a new TView

Callers 1

createTViewFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…