MCPcopy Index your code
hub / github.com/angular/components / _getEmbeddedViewArgs

Method _getEmbeddedViewArgs

src/cdk/table/table.ts:1346–1357  ·  view source on GitHub ↗
(
    renderRow: RenderRow<T>,
    index: number,
  )

Source from the content-addressed store, hash-verified

1344 }
1345
1346 private _getEmbeddedViewArgs(
1347 renderRow: RenderRow<T>,
1348 index: number,
1349 ): _ViewRepeaterItemInsertArgs<RowContext<T>> {
1350 const rowDef = renderRow.rowDef;
1351 const context: RowContext<T> = {$implicit: renderRow.data};
1352 return {
1353 templateRef: rowDef.template,
1354 context,
1355 index,
1356 };
1357 }
1358
1359 /**
1360 * Creates a new row template in the outlet and fills it with the set of cell templates.

Callers 1

renderRowsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected