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

Method registerOnTouched

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

Implemented as part of ControlValueAccessor.

(fn: () => void)

Source from the content-addressed store, hash-verified

282
283 /** Implemented as part of ControlValueAccessor. */
284 registerOnTouched(fn: () => void): void {
285 this._onTouched = fn;
286 }
287
288 /** Watches for changes in the selected state of the options and updates the list accordingly. */
289 private _watchForSelectionChange() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected