W3cubDocs

/Angular 4 TypeScript

AsyncValidator

Experimental Interface

Interface Overview

interface AsyncValidator extends Validator {
  validate(c: AbstractControl) : Promise<ValidationErrors|
}

Interface Description

Interface Details

validate(c: AbstractControl) : Promise<ValidationErrors|

exported from forms/index, defined in forms/src/directives/validators.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/docs/ts/latest/api/forms/index/AsyncValidator-interface.html