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

Function getCells

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

Source from the content-addressed store, hash-verified

3545}
3546
3547function getCells(row: Element): HTMLElement[] {
3548 if (!row) {
3549 return [];
3550 }
3551
3552 let cells = getElements(row, 'cdk-cell');
3553 if (!cells.length) {
3554 cells = getElements(row, 'td.cdk-cell');
3555 }
3556
3557 return cells;
3558}
3559
3560function getHeaderCells(headerRow: Element): HTMLElement[] {
3561 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