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 { ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
---|
9 | import { DrawerContainerHarnessFilters, DrawerHarnessFilters } from './drawer-harness-filters';
|
---|
10 | import { MatDrawerContentHarness } from './drawer-content-harness';
|
---|
11 | import { MatDrawerHarness } from './drawer-harness';
|
---|
12 | /** Harness for interacting with a standard mat-drawer-container in tests. */
|
---|
13 | export declare class MatDrawerContainerHarness extends ContentContainerComponentHarness<string> {
|
---|
14 | /** The selector for the host element of a `MatDrawerContainer` instance. */
|
---|
15 | static hostSelector: string;
|
---|
16 | /**
|
---|
17 | * Gets a `HarnessPredicate` that can be used to search for a `MatDrawerContainerHarness` that
|
---|
18 | * meets certain criteria.
|
---|
19 | * @param options Options for filtering which container instances are considered a match.
|
---|
20 | * @return a `HarnessPredicate` configured with the given options.
|
---|
21 | */
|
---|
22 | static with(options?: DrawerContainerHarnessFilters): HarnessPredicate<MatDrawerContainerHarness>;
|
---|
23 | /**
|
---|
24 | * Gets drawers that match particular criteria within the container.
|
---|
25 | * @param filter Optionally filters which chips are included.
|
---|
26 | */
|
---|
27 | getDrawers(filter?: DrawerHarnessFilters): Promise<MatDrawerHarness[]>;
|
---|
28 | /** Gets the element that has the container's content. */
|
---|
29 | getContent(): Promise<MatDrawerContentHarness>;
|
---|
30 | }
|
---|