Angular 2Angular2 Custom Validations

Download Angular 2 for free

Parameters

parameterdescription
controlThis is the control that is being validated. Typically you will want to see if control.value meets some criteria.

Related Examples

Custom validator examples: