API Reference / @dasch-ng/validators / HexValidatorDirective
Class: HexValidatorDirective
Defined in: hex/hex-validator.directive.ts:16
Implements
Validator
Constructors
Constructor
new HexValidatorDirective():
HexValidatorDirective
Returns
HexValidatorDirective
Methods
validate()
validate(
control):ValidationErrors|null
Defined in: hex/hex-validator.directive.ts:17
Parameters
control
AbstractControl
The control to validate against.
Returns
ValidationErrors | null
A map of validation errors if validation fails, otherwise null.
Description
Method that performs synchronous validation against the provided control.
Implementation of
Validator.validate