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

Function getElements

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

Source from the content-addressed store, hash-verified

3406}
3407
3408function getElements(element: Element, query: string): HTMLElement[] {
3409 return [].slice.call(element.querySelectorAll(query));
3410}
3411
3412function getHeaderRows(tableElement: Element): HTMLElement[] {
3413 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