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

Method elementStart

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

Source from the content-addressed store, hash-verified

112 constructor(private queries: TQuery[] = []) {}
113
114 elementStart(tView: TView, tNode: TNode): void {
115 ngDevMode &&
116 assertFirstCreatePass(
117 tView,
118 'Queries should collect results on the first template pass only',
119 );
120 for (let i = 0; i < this.queries.length; i++) {
121 this.queries[i].elementStart(tView, tNode);
122 }
123 }
124 elementEnd(tNode: TNode): void {
125 for (let i = 0; i < this.queries.length; i++) {
126 this.queries[i].elementEnd(tNode);

Callers

nothing calls this directly

Calls 2

assertFirstCreatePassFunction · 0.90
elementStartMethod · 0.65

Tested by

no test coverage detected