Angular · Middle · Question 40 of 75

What does implementing ControlValueAccessor allow?

Explanation

Implement writeValue, registerOnChange, registerOnTouched (and optionally setDisabledState) and provide NG_VALUE_ACCESSOR. The forms API then talks to your component through these methods.

Further reading

Problem with a question

Angular · Middle · question 40

Test yourself

Take the Angular · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz