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

Function getCells

src/cdk/table/table.spec.ts:3424–3435  ·  view source on GitHub ↗
(row: Element)

Source from the content-addressed store, hash-verified

3422}
3423
3424function getCells(row: Element): HTMLElement[] {
3425 if (!row) {
3426 return [];
3427 }
3428
3429 let cells = getElements(row, 'cdk-cell');
3430 if (!cells.length) {
3431 cells = getElements(row, 'td.cdk-cell');
3432 }
3433
3434 return cells;
3435}
3436
3437function getHeaderCells(headerRow: Element): HTMLElement[] {
3438 let cells = getElements(headerRow, 'cdk-header-cell');

Callers 2

table.spec.tsFile · 0.70
getActualTableContentFunction · 0.70

Calls 1

getElementsFunction · 0.70

Tested by

no test coverage detected