ControlValueAccessor
ControlValueAccessor
Stable Interface
Interface Overview
interface ControlValueAccessor { writeValue(obj: any) : void registerOnChange(fn: any) : void registerOnTouched(fn: any) : void setDisabledState(isDisabled: boolean) : void }
Interface Description
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.