W3cubDocs

/Angular 2 TypeScript

NgControlStatusGroup

Stable Directive

Class Overview

class NgControlStatusGroup extends AbstractControlStatus {
  constructor(cd: ControlContainer)
  
  
}

Selectors

[formGroupName]

[formArrayName]

[ngModelGroup]

[formGroup]

form:not([ngNoForm])

[ngForm]

Class Description

Directive automatically applied to Angular form groups that sets CSS classes based on control status (valid/invalid/dirty/etc).

Constructor

constructor(cd: ControlContainer)

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

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