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

Function getHeaderCells

src/cdk/table/table.spec.ts:3560–3567  ·  view source on GitHub ↗
(headerRow: Element)

Source from the content-addressed store, hash-verified

3558}
3559
3560function getHeaderCells(headerRow: Element): HTMLElement[] {
3561 let cells = getElements(headerRow, 'cdk-header-cell');
3562 if (!cells.length) {
3563 cells = getElements(headerRow, 'th.cdk-header-cell');
3564 }
3565
3566 return cells;
3567}
3568
3569function getFooterCells(footerRow: Element): HTMLElement[] {
3570 let cells = getElements(footerRow, 'cdk-footer-cell');

Callers 3

table.spec.tsFile · 0.70
assertStickyOffsetsFunction · 0.70
getActualTableContentFunction · 0.70

Calls 1

getElementsFunction · 0.70

Tested by

no test coverage detected