You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

30 lines
1.5 KiB

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import { ContentContainerComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
import { DrawerContainerHarnessFilters, DrawerHarnessFilters } from './drawer-harness-filters';
import { MatDrawerContentHarness } from './drawer-content-harness';
import { MatDrawerHarness } from './drawer-harness';
/** Harness for interacting with a standard mat-drawer-container in tests. */
export declare class MatDrawerContainerHarness extends ContentContainerComponentHarness<string> {
/** The selector for the host element of a `MatDrawerContainer` instance. */
static hostSelector: string;
/**
* Gets a `HarnessPredicate` that can be used to search for a `MatDrawerContainerHarness` that
* meets certain criteria.
* @param options Options for filtering which container instances are considered a match.
* @return a `HarnessPredicate` configured with the given options.
*/
static with(options?: DrawerContainerHarnessFilters): HarnessPredicate<MatDrawerContainerHarness>;
/**
* Gets drawers that match particular criteria within the container.
* @param filter Optionally filters which chips are included.
*/
getDrawers(filter?: DrawerHarnessFilters): Promise<MatDrawerHarness[]>;
/** Gets the element that has the container's content. */
getContent(): Promise<MatDrawerContentHarness>;
}