[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 { ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
---|
| 9 | import { DrawerContainerHarnessFilters, DrawerHarnessFilters } from './drawer-harness-filters';
|
---|
| 10 | import { MatSidenavContentHarness } from './sidenav-content-harness';
|
---|
| 11 | import { MatSidenavHarness } from './sidenav-harness';
|
---|
| 12 | /** Harness for interacting with a standard mat-sidenav-container in tests. */
|
---|
| 13 | export declare class MatSidenavContainerHarness extends ContentContainerComponentHarness<string> {
|
---|
| 14 | /** The selector for the host element of a `MatSidenavContainer` instance. */
|
---|
| 15 | static hostSelector: string;
|
---|
| 16 | /**
|
---|
| 17 | * Gets a `HarnessPredicate` that can be used to search for a `MatSidenavContainerHarness` 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<MatSidenavContainerHarness>;
|
---|
| 23 | /**
|
---|
| 24 | * Gets sidenavs that match particular criteria within the container.
|
---|
| 25 | * @param filter Optionally filters which chips are included.
|
---|
| 26 | */
|
---|
| 27 | getSidenavs(filter?: DrawerHarnessFilters): Promise<MatSidenavHarness[]>;
|
---|
| 28 | /** Gets the element that has the container's content. */
|
---|
| 29 | getContent(): Promise<MatSidenavContentHarness>;
|
---|
| 30 | }
|
---|