W3cubDocs

/Angular 4 TypeScript

AbstractControlDirective

Stable Class

Class Overview

class AbstractControlDirective {
  control : AbstractControl
  value : any
  valid : boolean
  invalid : boolean
  pending : boolean
  errors : ValidationErrors|
}

Class Description

Base class for control directives.

Only used internally in the forms module.

Class Details

control : AbstractControl
value : any
valid : boolean
invalid : boolean
pending : boolean
errors : ValidationErrors|

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

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