core/forms/emails-validator.directive.ts

Description

A directive that adds the emails validator to controls marked with the emails attribute. The directive is provided with the NG_VALIDATORS multi-provider list.

Example :
<input type="text" name="emails" ngModel emails>
<input type="text" name="emails" ngModel emails="true">
<input type="text" name="emails" ngModel [emails]="true">

Implements

Validator

Example

Metadata

Relationships

results matching ""

    No results matching ""