ControlValueAccessor<T> class abstract

A bridge between a control and a native element.

A ControlValueAccessor abstracts the operations of writing a new value to a DOM element representing an input control.

Please see DefaultValueAccessor for more information.

Implementers

Constructors

ControlValueAccessor()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDisabledChanged(bool isDisabled) → void
This function is called when the control status changes to or from "DISABLED".
registerOnChange(ChangeFunction<T> f) → void
Set the function to be called when the control receives a change event.
registerOnTouched(TouchFunction f) → void
Set the function to be called when the control is touched.
toString() String
A string representation of this object.
inherited
writeValue(T obj) → void
Write a new value to the element.

Operators

operator ==(Object other) bool
The equality operator.
inherited