(row: Element)
| 3545 | } |
| 3546 | |
| 3547 | function 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 | |
| 3560 | function getHeaderCells(headerRow: Element): HTMLElement[] { |
| 3561 | let cells = getElements(headerRow, 'cdk-header-cell'); |
no test coverage detected