UNPKG

@mobilelivenpm/fds-angular-qa

Version:

This library was generated with [Nx](https://nx.dev).

10 lines (9 loc) 579 B
import { FormGroupDirective, NgForm, FormControl } from '@angular/forms'; /** Error state matcher that matches when a control is invalid and dirty. */ export declare class FdsShowOnDirtyErrorStateMatcher implements FdsErrorStateMatcher { isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean; } /** Provider that defines how form controls behave with regards to displaying error messages. */ export declare class FdsErrorStateMatcher { isErrorState(control: FormControl | null, form: FormGroupDirective | NgForm | null): boolean; }