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

Function getElements

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

Source from the content-addressed store, hash-verified

3472}
3473
3474function getElements(element: Element, query: string): HTMLElement[] {
3475 return [].slice.call(element.querySelectorAll(query));
3476}
3477
3478function getHeaderRows(tableElement: Element): HTMLElement[] {
3479 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