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

Method writeValue

src/material/slide-toggle/slide-toggle.ts:262–264  ·  view source on GitHub ↗

Implemented as part of ControlValueAccessor.

(value: any)

Source from the content-addressed store, hash-verified

260
261 /** Implemented as part of ControlValueAccessor. */
262 writeValue(value: any): void {
263 this.checked = !!value;
264 }
265
266 /** Implemented as part of ControlValueAccessor. */
267 registerOnChange(fn: any): void {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected