AbstractFormGroupDirective

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部