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

Function getElements

src/cdk/table/table.spec.ts:3531–3533  ·  view source on GitHub ↗
(element: Element, query: string)

Source from the content-addressed store, hash-verified

3529}
3530
3531function getElements(element: Element, query: string): HTMLElement[] {
3532 return [].slice.call(element.querySelectorAll(query));
3533}
3534
3535function getHeaderRows(tableElement: Element): HTMLElement[] {
3536 return [].slice.call(tableElement.querySelectorAll('.cdk-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