Class Overview
class NgControl extends AbstractControlDirective {
name
: string
valueAccessor
: ControlValueAccessor
validator
: ValidatorFn
asyncValidator
: AsyncValidatorFn
viewToModelUpdate
(newValue: any) : void
}
Class Description
A base class that all control directive extend.
It binds a FormControl
object to a DOM element.
Used internally by Angular forms.
Class Details
exported from @angular/forms/index, defined in @angular/forms/src/directives/ng_control.ts