UNPKG

@ngez/core

Version:

A collection of minimalistic, easy-to-use and fully customizable Angular components, directives and services

13 lines (12 loc) 511 B
import { SimpleChanges, OnInit, OnChanges } from "@angular/core"; import { Validator, AbstractControl, ValidationErrors } from "@angular/forms"; export declare class NgEzMaxSizeValidator implements Validator, OnInit, OnChanges { maxSize: number; private validator; private onChange; ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; validate(control: AbstractControl): ValidationErrors; registerOnValidatorChange(fn: any): void; private createValidator; }