MCPcopy
hub / github.com/angular/components / getCellTextByIndex

Method getCellTextByIndex

src/aria/grid/testing/grid-harness.ts:115–118  ·  view source on GitHub ↗

Gets the text of the cells in the row.

(filters: GridCellHarnessFilters = {})

Source from the content-addressed store, hash-verified

113
114 /** Gets the text of the cells in the row. */
115 async getCellTextByIndex(filters: GridCellHarnessFilters = {}): Promise<string[]> {
116 const cells = await this.getCells(filters);
117 return parallel(() => cells.map(cell => cell.getText()));
118 }
119}
120
121/** Harness for interacting with a standard ngGrid in tests. */

Callers

nothing calls this directly

Calls 3

getCellsMethod · 0.95
parallelFunction · 0.90
getTextMethod · 0.45

Tested by

no test coverage detected