W3cubDocs

/Angular 2 TypeScript

AbstractFormGroupDirective

Stable Class

Class Overview

class AbstractFormGroupDirective extends ControlContainer implements OnInit,  OnDestroy {
  ngOnInit() : void
  ngOnDestroy() : void
  control : FormGroup
  path : string[]
  formDirective : Form
  validator : ValidatorFn
  asyncValidator : AsyncValidatorFn
}

Class Description

This is a base class for code shared between NgModelGroup and FormGroupName.

Class Details

ngOnInit() : void
ngOnDestroy() : void
control : FormGroup

Get the FormGroup backing this binding.

path : string[]

Get the path to this control group.

formDirective : Form

Get the Form to which this group belongs.

validator : ValidatorFn
asyncValidator : AsyncValidatorFn

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

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