p.location-badge.
exported from angular2/forms
defined in angular2/src/forms/directives/ng_control_group.ts (line 12)
:markdown
This module is used for handling user input, by defining and building a ControlGroup
that
consists of
Control
objects, and mapping them onto the DOM. Control
objects can then be used
to read information
from the form DOM elements.
This module is not included in the `angular2` module; you must import the forms module
explicitly.
.l-main-section
h2 Annotations
.l-sub-section
h3.annotation Directive
pre.prettyprint
code.
@Directive({
selector: '[ng-control-group]',
bindings: [controlGroupBinding],
properties: ['name: ng-control-group'],
lifecycle: [LifecycleEvent.OnInit, LifecycleEvent.OnDestroy],
exportAs: 'form'
})
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(_parent: ControlContainer)
:markdown
.l-sub-section
h3 onInit
pre.prettyprint
code.
onInit()
:markdown
.l-sub-section
h3 onDestroy
pre.prettyprint
code.
onDestroy()
:markdown
.l-sub-section
h3 control
:markdown
.l-sub-section
h3 path
:markdown
.l-sub-section
h3 formDirective
:markdown