BaseMaterialInputValueAccessor<T> class abstract

Common logic for a ControlValueAccessor for a BaseMaterialInputComponent.

Implementers

Constructors

BaseMaterialInputValueAccessor(BaseMaterialInput input, @Self() @Optional() NgControl? _cd)

Properties

disposer Disposer
final
hashCode int
The hash code for this object.
no setterinherited
input BaseMaterialInput
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

formatValue(T? value) String
Handles converting input value to String.
ngOnDestroy() → void
Executed before the directive is removed from the DOM and destroyed.
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.
inherited
registerOnTouched(TouchFunction callback) → void
Set the function to be called when the control is touched.
toString() String
A string representation of this object.
inherited
writeValue(T? newValue) → void
Write a new value to the element.

Operators

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