NgControl class

A base class that all control directive extend. It binds a Control object to a DOM element.

Used internally by Angular forms.

Inheritance
Implementers

Constructors

NgControl(List<ControlValueAccessor> valueAccessors, List validators)

Properties

validator ValidatorFn
final
valueAccessor ControlValueAccessor
read / write
control Control
read-only, inherited
dirty → bool
read-only, inherited
disabled → bool
read-only, inherited
enabled → bool
read-only, inherited
errors → Map<String, dynamic>
read-only, inherited
hashCode → int
The hash code for this object. [...]
read-only, inherited
name ↔ String
read / write, inherited
path → List<String>
read-only, inherited
pristine → bool
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
touched → bool
read-only, inherited
untouched → bool
read-only, inherited
valid → bool
read-only, inherited
value → dynamic
read-only, inherited

Methods

viewToModelUpdate(dynamic newValue) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
reset({dynamic value }) → void
Resets the form control. [...]
inherited
toggleDisabled(bool isDisabled) → void
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited