UNPKG

truly-ui

Version:

Web Components for Desktop Applications.

12 lines 647 B
import { UntypedFormControl, ValidationErrors, Validator } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class NumberDirective implements Validator { private regex; constructor(); onKeyDown($event: any): void; handleNegativeNumber($event: any): boolean; validate(c: UntypedFormControl): ValidationErrors; static ɵfac: i0.ɵɵFactoryDeclaration<NumberDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NumberDirective, "[number][ngModel],[number][formControl],[number][formControlName]", never, {}, {}, never, never, false, never>; } //# sourceMappingURL=number.directive.d.ts.map