class MinLengthValidator implements Validator, minlength : string ngOnChanges(changes: SimpleChanges) : void validate(c: AbstractControl) : {[key: string]: any} registerOnValidatorChange(fn: () => void) : void }
[minlength][formControlName]
[minlength][formControl]
[minlength][ngModel]
A directive which installs the MinLengthValidator
for any formControlName
, formControl
, or control with ngModel
that also has a minlength
attribute.
minlength : string
ngOnChanges(changes: SimpleChanges) : void
validate(c: AbstractControl) : {[key: string]: any}
registerOnValidatorChange(fn: () => void) : void
exported from @angular/forms/index, defined in @angular/forms/src/directives/validators.ts
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/forms/index/MinLengthValidator-directive.html