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

Function getElements

src/material/table/table.spec.ts:1071–1073  ·  view source on GitHub ↗
(element: Element, query: string)

Source from the content-addressed store, hash-verified

1069}
1070
1071function getElements(element: Element, query: string): Element[] {
1072 return [].slice.call(element.querySelectorAll(query));
1073}
1074
1075function getHeaderRows(tableElement: Element): Element[] {
1076 return [].slice.call(tableElement.querySelectorAll('.mat-mdc-header-row'))!;

Callers 4

getRowsFunction · 0.70
getCellsFunction · 0.70
getHeaderCellsFunction · 0.70
getFooterCellsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected