NgControl class abstract
A base class that all control directive extend. It binds a Control object to a DOM element.
Used internally by Angular forms.
- Inheritance
-
- Object
- AbstractControlDirective<
Control> - NgControl
- Implementers
Constructors
-
NgControl(List<
ControlValueAccessor> ? valueAccessors, List? validators)
Properties
- control → Control?
-
no setterinherited
- dirty → bool?
-
no setterinherited
- disabled → bool?
-
no setterinherited
- enabled → bool?
-
no setterinherited
-
errors
→ Map<
String, dynamic> ? -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
getter/setter pairinherited
-
path
→ List<
String?> ? -
no setterinherited
- pristine → bool?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- touched → bool?
-
no setterinherited
- untouched → bool?
-
no setterinherited
- update → Stream
-
Updates from the view itself.
no setter
- valid → bool?
-
no setterinherited
- validator → ValidatorFn?
-
final
- value → dynamic
-
no setterinherited
- valueAccessor ↔ ControlValueAccessor?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
{dynamic value}) → void -
Resets the form control.
inherited
-
toggleDisabled(
bool isDisabled) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
viewToModelUpdate(
dynamic newValue) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited