docs(forms): update API reference for validator directives (#26926)

PR Close #26926
This commit is contained in:
Brandon Roberts
2018-11-01 13:51:37 -05:00
committed by Miško Hevery
parent 87d7b747d2
commit a433baf99a
2 changed files with 204 additions and 42 deletions
+5 -2
View File
@@ -97,14 +97,17 @@ export type FormHooks = 'change' | 'blur' | 'submit';
*/
export interface AbstractControlOptions {
/**
* List of validators applied to control.
* @description
* The list of validators applied to a control.
*/
validators?: ValidatorFn|ValidatorFn[]|null;
/**
* List of async validators applied to control.
* @description
* The list of async validators applied to control.
*/
asyncValidators?: AsyncValidatorFn|AsyncValidatorFn[]|null;
/**
* @description
* The event name for control to update upon.
*/
updateOn?: 'change'|'blur'|'submit';