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

Method registerOnChange

src/material/list/selection-list.ts:279–281  ·  view source on GitHub ↗

Implemented as part of ControlValueAccessor.

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

Source from the content-addressed store, hash-verified

277
278 /** Implemented as part of ControlValueAccessor. */
279 registerOnChange(fn: (value: any) => void): void {
280 this._onChange = fn;
281 }
282
283 /** Implemented as part of ControlValueAccessor. */
284 registerOnTouched(fn: () => void): void {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected