Class Overview
Selectors
[email][formControlName]
[email][formControl]
[email][ngModel]
Class Description
A Directive that adds the email
validator to controls marked with the
email
attribute, via the NG_VALIDATORS
binding.
Example
<input type="email" name="email" ngModel email>
<input type="email" name="email" ngModel email="true">
<input type="email" name="email" ngModel [email]="true">
exported from forms/index, defined in forms/src/directives/validators.ts