EmailValidator
A Directive that adds the email validator to controls marked with the
email attribute, via the NG_VALIDATORS binding.
NgModules
Selectors
[email][formControlName][email][formControl][email][ngModel]
Properties
| Property | Description |
|---|---|
@Input()
|
Write-only. |
Description
Example
<input type="email" name="email" ngModel email>
<input type="email" name="email" ngModel email="true">
<input type="email" name="email" ngModel [email]="true">
Methods
Parameters
Returns
|
Parameters
Returns
|