MCPcopy Create free account
hub / github.com/angular/angular / template

Method template

packages/core/src/render3/queries/query.ts:149–158  ·  view source on GitHub ↗
(tView: TView, tNode: TNode)

Source from the content-addressed store, hash-verified

147 }
148
149 template(tView: TView, tNode: TNode): void {
150 ngDevMode &&
151 assertFirstCreatePass(
152 tView,
153 'Queries should collect results on the first template pass only',
154 );
155 for (let i = 0; i < this.queries.length; i++) {
156 this.queries[i].template(tView, tNode);
157 }
158 }
159
160 getByIndex(index: number): TQuery {
161 ngDevMode && assertIndexInRange(this.queries, index);

Callers

nothing calls this directly

Calls 2

assertFirstCreatePassFunction · 0.90
templateMethod · 0.65

Tested by

no test coverage detected