Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
772 bytes
|
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 | export declare class ShowOnDirtyErrorStateMatcher implements ErrorStateMatcher {
|
---|
| 11 | isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
---|
| 12 | }
|
---|
| 13 | /** Provider that defines how form controls behave with regards to displaying error messages. */
|
---|
| 14 | export declare class ErrorStateMatcher {
|
---|
| 15 | isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean;
|
---|
| 16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.