source: trip-planner-front/node_modules/@angular/material/stepper/testing/step-harness-filters.d.ts@ 8d391a1

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

initial commit

  • Property mode set to 100644
File size: 1.4 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 { BaseHarnessFilters } from '@angular/cdk/testing';
9/** Possible orientations for a stepper. */
10export declare const enum StepperOrientation {
11 HORIZONTAL = 0,
12 VERTICAL = 1
13}
14/** A set of criteria that can be used to filter a list of `MatStepHarness` instances. */
15export interface StepHarnessFilters extends BaseHarnessFilters {
16 /** Only find instances whose label matches the given value. */
17 label?: string | RegExp;
18 /** Only find steps with the given selected state. */
19 selected?: boolean;
20 /** Only find completed steps. */
21 completed?: boolean;
22 /** Only find steps that have errors. */
23 invalid?: boolean;
24}
25/** A set of criteria that can be used to filter a list of `MatStepperHarness` instances. */
26export interface StepperHarnessFilters extends BaseHarnessFilters {
27 /** Only find instances whose orientation matches the given value. */
28 orientation?: StepperOrientation;
29}
30/**
31 * A set of criteria that can be used to filter a list of
32 * `MatStepperNextHarness` and `MatStepperPreviousHarness` instances.
33 */
34export interface StepperButtonHarnessFilters extends BaseHarnessFilters {
35 /** Only find instances whose text matches the given value. */
36 text?: string | RegExp;
37}
Note: See TracBrowser for help on using the repository browser.