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

Method with

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

* Gets a `HarnessPredicate` that can be used to search for a `mat-sort` with specific attributes. * @param options Options for narrowing the search. * @return a `HarnessPredicate` configured with the given options.

(options: SortHarnessFilters = {})

Source from the content-addressed store, hash-verified

20 * @return a `HarnessPredicate` configured with the given options.
21 */
22 static with(options: SortHarnessFilters = {}): HarnessPredicate<MatSortHarness> {
23 return new HarnessPredicate(MatSortHarness, options);
24 }
25
26 /** Gets all of the sort headers in the `mat-sort`. */
27 async getSortHeaders(filter: SortHeaderHarnessFilters = {}): Promise<MatSortHeaderHarness[]> {

Callers 1

getSortHeadersMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected