MCPcopy Create free account
hub / github.com/angular/components / _getEmbeddedViewArgs

Method _getEmbeddedViewArgs

src/cdk/table/table.ts:1364–1375  ·  view source on GitHub ↗
(
    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.

Callers 1

renderRowsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected