Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
993 bytes
|
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, ComponentHarness } from '@angular/cdk/testing';
|
---|
9 | import { ChipRemoveHarnessFilters } from './chip-harness-filters';
|
---|
10 | /** Harness for interacting with a standard Material chip remove button in tests. */
|
---|
11 | export declare class MatChipRemoveHarness extends ComponentHarness {
|
---|
12 | static hostSelector: string;
|
---|
13 | /**
|
---|
14 | * Gets a `HarnessPredicate` that can be used to search for a `MatChipRemoveHarness` that meets
|
---|
15 | * certain criteria.
|
---|
16 | * @param options Options for filtering which input instances are considered a match.
|
---|
17 | * @return a `HarnessPredicate` configured with the given options.
|
---|
18 | */
|
---|
19 | static with(options?: ChipRemoveHarnessFilters): HarnessPredicate<MatChipRemoveHarness>;
|
---|
20 | /** Clicks the remove button. */
|
---|
21 | click(): Promise<void>;
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.