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
hasError(errorCode: string, path?: string[]) : boolean
getError(errorCode: string, path?: string[]) : any
}
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
hasError(errorCode: string, path?: string[]) : boolean
getError(errorCode: string, path?: string[]) : any
exported from @angular/forms/index, defined in @angular/forms/src/directives/abstract_control_directive.ts