NgControlStatusGroup
Stable Directive
Обзор класса
class NgControlStatusGroup extends AbstractControlStatus {
constructor(cd: ControlContainer)
}
Селекторы
[formGroupName]
[formArrayName]
[ngModelGroup]
[formGroup]
form:not([ngNoForm])
[ngForm]
Описание класса
Директива автоматически применяется к группам форм Angular, устанавливая CSS-классы на основе состояния управления (валидность/невалидность/изменённость и т.д.).
Конструктор
constructor(cd: ControlContainer)
экспортировано из @angular/forms/index, определено в @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