UNPKG

@zarlex/ngx-accessor

Version:

This library provides an adapter to interact with Angular forms. It also provides an adapter to work with object signals and forms

9 lines (8 loc) 543 B
import { AbstractControl, MaxLengthValidator as NgMaxLengthValidator, ValidationErrors } from '@angular/forms'; import * as i0 from "@angular/core"; export declare const MAXLENGTH_VALIDATOR: any; export declare class MaxLengthValidator extends NgMaxLengthValidator { validate(control: AbstractControl): ValidationErrors | null; static ɵfac: i0.ɵɵFactoryDeclaration<MaxLengthValidator, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<MaxLengthValidator, "[ngxAccessor][maxlength]", never, {}, {}, never, never, true, never>; }