EmailValidator
directive
A directive that adds the email
validator to controls marked with the
email
attribute. The directive is provided with the NG_VALIDATORS
multi-provider list.
API
Description
Usage Notes
class EmailValidator extends AbstractValidatorDirective {}
string | boolean
Tracks changes to the email attribute bound to this directive.
enabled
boolean
@paraminput
boolean
@returns
boolean
ngOnChanges
void
@returns
void
validate
ValidationErrors | null
@returns
ValidationErrors | null
registerOnValidatorChange
void
@paramfn
() => void
@returns
void
Jump to details