Last change
on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 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 { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
---|
9 | import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
---|
10 | import { ProgressSpinnerHarnessFilters } from './progress-spinner-harness-filters';
|
---|
11 | /** Harness for interacting with a standard mat-progress-spinner in tests. */
|
---|
12 | export declare class MatProgressSpinnerHarness extends ComponentHarness {
|
---|
13 | /** The selector for the host element of a `MatProgressSpinner` instance. */
|
---|
14 | static hostSelector: string;
|
---|
15 | /**
|
---|
16 | * Gets a `HarnessPredicate` that can be used to search for a `MatProgressSpinnerHarness` that
|
---|
17 | * meets certain criteria.
|
---|
18 | * @param options Options for filtering which progress spinner instances are considered a match.
|
---|
19 | * @return a `HarnessPredicate` configured with the given options.
|
---|
20 | */
|
---|
21 | static with(options?: ProgressSpinnerHarnessFilters): HarnessPredicate<MatProgressSpinnerHarness>;
|
---|
22 | /** Gets the progress spinner's value. */
|
---|
23 | getValue(): Promise<number | null>;
|
---|
24 | /** Gets the progress spinner's mode. */
|
---|
25 | getMode(): Promise<ProgressSpinnerMode>;
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.