AbstractControlDirective

Stable Class

Class Overview

class AbstractControlDirective {
  control : AbstractControl
  value : any
  valid : boolean
  invalid : boolean
  pending : boolean
  errors : {[key: string]: any}
  pristine : boolean
  dirty : boolean
  touched : boolean
  untouched : boolean
  disabled : boolean
  enabled : boolean
  statusChanges : Observable<any>
  valueChanges : Observable<any>
  path : string[]
  reset(value?: any) : void
}

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 : {[key: string]: any}
pristine : boolean
dirty : boolean
touched : boolean
untouched : boolean
disabled : boolean
enabled : boolean
statusChanges : Observable<any>
valueChanges : Observable<any>
path : string[]
reset(value?: any) : void

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

doc_Angular
2016-10-06 09:46:08
Comments
Leave a Comment

Please login to continue.