An interface that NgFormModel and NgForm implement.

Only used by the forms module.

Constructors

Form()

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

addControl(NgControl dir) → void

Add a control to this form.

addControlGroup(NgControlGroup dir) → void

Add a group of controls to this form.

getControl(NgControl dir) Control

Look up the Control associated with a particular NgControl.

getControlGroup(NgControlGroup dir) ControlGroup

Look up the ControlGroup associated with a particular NgControlGroup.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
removeControl(NgControl dir) → void

Remove a control from this form.

removeControlGroup(NgControlGroup dir) → void

Remove a group of controls from this form.

toString() → String

Returns a string representation of this object.

inherited
updateModel(NgControl dir, value) → void

Update the model for a particular control with a new value.