PatternValidator

Stable

Directive

Class Overview

class PatternValidator implements Validator, {
pattern : string
ngOnChanges(changes: SimpleChanges) : void
validate(c: AbstractControl) : {[key: string]: any}
registerOnValidatorChange(fn: () => void) : void

}

Selectors

[pattern][formControlName]

[pattern][formControl]

[pattern][ngModel]

Class Description

Class Details

exported from @angular/forms/index, defined in @angular/forms/src/directives/validators.ts