Put in order · Angular course · Module 8: Forms

ControlValueAccessor methods

Order the ControlValueAccessor interface methods in their typical declaration order within the class (first writing the value, then registering callbacks).

Items to put in order

  • registerOnTouched(fn)
  • registerOnChange(fn)
  • writeValue(value)

You can check the correct answer by solving this task in the CodeWorlds game.