source: trip-planner-front/node_modules/@angular/material/sidenav/testing/sidenav-container-harness.d.ts@ 6a3a178

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.5 KB
Line 
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 */
8import { ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
9import { DrawerContainerHarnessFilters, DrawerHarnessFilters } from './drawer-harness-filters';
10import { MatSidenavContentHarness } from './sidenav-content-harness';
11import { MatSidenavHarness } from './sidenav-harness';
12/** Harness for interacting with a standard mat-sidenav-container in tests. */
13export 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}
Note: See TracBrowser for help on using the repository browser.