Stable
Class
class NgControl extends AbstractControlDirective { name : string valueAccessor : ControlValueAccessor validator : ValidatorFn asyncValidator : AsyncValidatorFn viewToModelUpdate(newValue: any) : void }
A base class that all control directive extend. It binds a FormControl
object to a DOM element.
Used internally by Angular forms.
name : string
valueAccessor : ControlValueAccessor
validator : ValidatorFn
asyncValidator : AsyncValidatorFn
viewToModelUpdate(newValue: any) : void
exported from @angular/forms/index, defined in @angular/forms/src/directives/ng_control.ts
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/forms/index/NgControl-class.html