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

Method writeValue

src/material/radio/radio.ts:342–345  ·  view source on GitHub ↗

* Sets the model value. Implemented as part of ControlValueAccessor. * @param value

(value: any)

Source from the content-addressed store, hash-verified

340 * @param value
341 */
342 writeValue(value: any) {
343 this.value = value;
344 this._changeDetector.markForCheck();
345 }
346
347 /**
348 * Registers a callback to be triggered when the model value changes.

Callers

nothing calls this directly

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected