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

Method getSortHeaders

src/material/sort/testing/sort-harness.ts:27–29  ·  view source on GitHub ↗

Gets all of the sort headers in the `mat-sort`.

(filter: SortHeaderHarnessFilters = {})

Source from the content-addressed store, hash-verified

25
26 /** Gets all of the sort headers in the `mat-sort`. */
27 async getSortHeaders(filter: SortHeaderHarnessFilters = {}): Promise<MatSortHeaderHarness[]> {
28 return this.locatorForAll(MatSortHeaderHarness.with(filter))();
29 }
30
31 /** Gets the selected header in the `mat-sort`. */
32 async getActiveHeader(): Promise<MatSortHeaderHarness | null> {

Callers 3

getActiveHeaderMethod · 0.95

Calls 2

locatorForAllMethod · 0.80
withMethod · 0.45

Tested by

no test coverage detected