@angular/material
Version:
Angular Material
22 lines (21 loc) • 1.06 kB
TypeScript
/**
* @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 { DrawerContentHarnessFilters } from './drawer-harness-filters';
/** Harness for interacting with a standard mat-drawer-content in tests. */
export declare class MatDrawerContentHarness extends ContentContainerComponentHarness<string> {
/** The selector for the host element of a `MatDrawerContent` instance. */
static hostSelector: string;
/**
* Gets a `HarnessPredicate` that can be used to search for a `MatDrawerContentHarness` that
* meets certain criteria.
* @param options Options for filtering which drawer content instances are considered a match.
* @return a `HarnessPredicate` configured with the given options.
*/
static with(options?: DrawerContentHarnessFilters): HarnessPredicate<MatDrawerContentHarness>;
}