p.location-badge.
exported from angular2/forms
defined in angular2/src/forms/model.ts (line 249)
: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 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(controls: AbstractControl[], validator?: Function)
:markdown
.l-sub-section
h3 controls
:markdown
.l-sub-section
h3 at
pre.prettyprint
code.
at(index: number)
:markdown
.l-sub-section
h3 push
pre.prettyprint
code.
push(control: AbstractControl)
:markdown
.l-sub-section
h3 insert
pre.prettyprint
code.
insert(index: number, control: AbstractControl)
:markdown
.l-sub-section
h3 removeAt
pre.prettyprint
code.
removeAt(index: number)
:markdown
.l-sub-section
h3 length
:markdown