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

Function interpolation3

packages/core/src/render3/instructions/interpolation.ts:91–108  ·  view source on GitHub ↗
(
  lView: LView,
  prefix: string,
  v0: any,
  i0: string,
  v1: any,
  i1: string,
  v2: any,
  suffix = '',
)

Source from the content-addressed store, hash-verified

89 * Creates an interpolation binding with 3 expressions.
90 */
91export function interpolation3(
92 lView: LView,
93 prefix: string,
94 v0: any,
95 i0: string,
96 v1: any,
97 i1: string,
98 v2: any,
99 suffix = '',
100): string | NO_CHANGE {
101 const bindingIndex = getBindingIndex();
102 const different = bindingUpdated3(lView, bindingIndex, v0, v1, v2);
103 incrementBindingIndex(3);
104
105 return different
106 ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + i1 + renderStringify(v2) + suffix
107 : NO_CHANGE;
108}
109
110/**
111 * Create an interpolation binding with 4 expressions.

Callers 2

ɵɵinterpolate3Function · 0.90
ɵɵtextInterpolate3Function · 0.90

Calls 4

getBindingIndexFunction · 0.90
bindingUpdated3Function · 0.90
incrementBindingIndexFunction · 0.90
renderStringifyFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…