MCPcopy Create free account
hub / github.com/angular/components / registerOnChange

Function registerOnChange

src/material/datepicker/datepicker-input-base.ts:299–301  ·  view source on GitHub ↗

Implemented as part of ControlValueAccessor.

(fn: (value: any) => void)

Source from the content-addressed store, hash-verified

297
298 /** Implemented as part of ControlValueAccessor. */
299 registerOnChange(fn: (value: any) => void): void {
300 this._cvaOnChange = fn;
301 }
302
303 /** Implemented as part of ControlValueAccessor. */
304 registerOnTouched(fn: () => void): void {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected