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

Last change on this file since bdd6491 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 { MatDrawerContentHarness } from './drawer-content-harness';
11import { MatDrawerHarness } from './drawer-harness';
12/** Harness for interacting with a standard mat-drawer-container in tests. */
13export 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}
Note: See TracBrowser for help on using the repository browser.