source: trip-planner-front/node_modules/@angular/material/bottom-sheet/testing/bottom-sheet-harness.d.ts@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.2 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 { BottomSheetHarnessFilters } from './bottom-sheet-harness-filters';
10/** Harness for interacting with a standard MatBottomSheet in tests. */
11export declare class MatBottomSheetHarness extends ContentContainerComponentHarness<string> {
12 static hostSelector: string;
13 /**
14 * Gets a `HarnessPredicate` that can be used to search for a bottom sheet with
15 * specific attributes.
16 * @param options Options for narrowing the search.
17 * @return a `HarnessPredicate` configured with the given options.
18 */
19 static with(options?: BottomSheetHarnessFilters): HarnessPredicate<MatBottomSheetHarness>;
20 /** Gets the value of the bottom sheet's "aria-label" attribute. */
21 getAriaLabel(): Promise<string | null>;
22 /**
23 * Dismisses the bottom sheet by pressing escape. Note that this method cannot
24 * be used if "disableClose" has been set to true via the config.
25 */
26 dismiss(): Promise<void>;
27}
Note: See TracBrowser for help on using the repository browser.