Method
_getEmbeddedViewArgs
(
renderRow: RenderRow<T>,
index: number,
)
Source from the content-addressed store, hash-verified
| 1362 | } |
| 1363 | |
| 1364 | private _getEmbeddedViewArgs( |
| 1365 | renderRow: RenderRow<T>, |
| 1366 | index: number, |
| 1367 | ): _ViewRepeaterItemInsertArgs<RowContext<T>> { |
| 1368 | const rowDef = renderRow.rowDef; |
| 1369 | const context: RowContext<T> = {$implicit: renderRow.data}; |
| 1370 | return { |
| 1371 | templateRef: rowDef.template, |
| 1372 | context, |
| 1373 | index, |
| 1374 | }; |
| 1375 | } |
| 1376 | |
| 1377 | /** |
| 1378 | * Creates a new row template in the outlet and fills it with the set of cell templates. |
Tested by
no test coverage detected