( lView: LView, prefix: string, v0: any, i0: string, v1: any, suffix = '', )
| 71 | * Creates an interpolation binding with 2 expressions. |
| 72 | */ |
| 73 | export function interpolation2( |
| 74 | lView: LView, |
| 75 | prefix: string, |
| 76 | v0: any, |
| 77 | i0: string, |
| 78 | v1: any, |
| 79 | suffix = '', |
| 80 | ): string | NO_CHANGE { |
| 81 | const bindingIndex = getBindingIndex(); |
| 82 | const different = bindingUpdated2(lView, bindingIndex, v0, v1); |
| 83 | incrementBindingIndex(2); |
| 84 | |
| 85 | return different ? prefix + renderStringify(v0) + i0 + renderStringify(v1) + suffix : NO_CHANGE; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Creates an interpolation binding with 3 expressions. |
no test coverage detected
searching dependent graphs…