Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | /**
|
---|
| 2 | * @license
|
---|
| 3 | * Copyright Google LLC All Rights Reserved.
|
---|
| 4 | *
|
---|
| 5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
| 6 | * found in the LICENSE file at https://angular.io/license
|
---|
| 7 | */
|
---|
| 8 | import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
---|
| 9 | import { SortHarnessFilters, SortHeaderHarnessFilters } from './sort-harness-filters';
|
---|
| 10 | import { MatSortHeaderHarness } from './sort-header-harness';
|
---|
| 11 | /** Harness for interacting with a standard `mat-sort` in tests. */
|
---|
| 12 | export declare class MatSortHarness extends ComponentHarness {
|
---|
| 13 | static hostSelector: string;
|
---|
| 14 | /**
|
---|
| 15 | * Gets a `HarnessPredicate` that can be used to search for a `mat-sort` with specific attributes.
|
---|
| 16 | * @param options Options for narrowing the search.
|
---|
| 17 | * @return a `HarnessPredicate` configured with the given options.
|
---|
| 18 | */
|
---|
| 19 | static with(options?: SortHarnessFilters): HarnessPredicate<MatSortHarness>;
|
---|
| 20 | /** Gets all of the sort headers in the `mat-sort`. */
|
---|
| 21 | getSortHeaders(filter?: SortHeaderHarnessFilters): Promise<MatSortHeaderHarness[]>;
|
---|
| 22 | /** Gets the selected header in the `mat-sort`. */
|
---|
| 23 | getActiveHeader(): Promise<MatSortHeaderHarness | null>;
|
---|
| 24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.