* 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 = {})
| 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[]> { |