UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

13 lines (12 loc) 1.02 kB
import { AfterViewInit, OnDestroy } from '@angular/core'; import { NgControl } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class ValidatorsDirective implements AfterViewInit, OnDestroy { private readonly ngControl; constructor(ngControl: NgControl); ngAfterViewInit(): void; ngOnDestroy(): void; validate(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ValidatorsDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ValidatorsDirective, "[ngModel][required],[formControl][required],[formControlName][required],[ngModel][pattern],[formControl][pattern],[formControlName][pattern],[ngModel][min],[formControl][min],[formControlName][min],[ngModel][max],[formControl][max],[formControlName][max],[ngModel][minlength],[formControl][minlength],[formControlName][minlength],[ngModel][maxlength],[formControl][maxlength],[formControlName][maxlength],[ngModel][email],[formControl][email],[formControlName][email]", never, {}, {}, never, never, true, never>; }