Last change
on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 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 | */
|
---|
8 | import { HarnessPredicate } from '@angular/cdk/testing';
|
---|
9 | import { MatDrawerHarnessBase } from './drawer-harness';
|
---|
10 | import { DrawerHarnessFilters } from './drawer-harness-filters';
|
---|
11 | /** Harness for interacting with a standard mat-sidenav in tests. */
|
---|
12 | export declare class MatSidenavHarness extends MatDrawerHarnessBase {
|
---|
13 | /** The selector for the host element of a `MatSidenav` instance. */
|
---|
14 | static hostSelector: string;
|
---|
15 | /**
|
---|
16 | * Gets a `HarnessPredicate` that can be used to search for a `MatSidenavHarness` that meets
|
---|
17 | * certain criteria.
|
---|
18 | * @param options Options for filtering which sidenav instances are considered a match.
|
---|
19 | * @return a `HarnessPredicate` configured with the given options.
|
---|
20 | */
|
---|
21 | static with(options?: DrawerHarnessFilters): HarnessPredicate<MatSidenavHarness>;
|
---|
22 | /** Whether the sidenav is fixed in the viewport. */
|
---|
23 | isFixedInViewport(): Promise<boolean>;
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.