Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[6a3a178] | 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 { FormGroupDirective, NgForm, FormControl } from '@angular/forms';
|
---|
| 9 | /** Error state matcher that matches when a control is invalid and dirty. */
|
---|
| 10 | import * as ɵngcc0 from '@angular/core';
|
---|
| 11 | export declare class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {
|
---|
| 12 | isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
---|
| 13 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<ShowOnDirtyErrorStateMatcher, never>;
|
---|
| 14 | static ɵprov: ɵngcc0.ɵɵInjectableDeclaration<ShowOnDirtyErrorStateMatcher>;
|
---|
| 15 | }
|
---|
| 16 | /** Provider that defines how form controls behave with regards to displaying error messages. */
|
---|
| 17 | export declare class ErrorStateMatcher {
|
---|
| 18 | isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
---|
| 19 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<ErrorStateMatcher, never>;
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | //# sourceMappingURL=error-options.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.