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

Function getHeaderCells

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

Source from the content-addressed store, hash-verified

3435}
3436
3437function getHeaderCells(headerRow: Element): HTMLElement[] {
3438 let cells = getElements(headerRow, 'cdk-header-cell');
3439 if (!cells.length) {
3440 cells = getElements(headerRow, 'th.cdk-header-cell');
3441 }
3442
3443 return cells;
3444}
3445
3446function getFooterCells(footerRow: Element): HTMLElement[] {
3447 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