MCPcopy Index your code
hub / github.com/angular/components / writeValue

Method writeValue

src/material/select/select.ts:816–818  ·  view source on GitHub ↗

* Sets the select's value. Part of the ControlValueAccessor interface * required to integrate with Angular's core forms API. * * @param value New value to be written to the model.

(value: any)

Source from the content-addressed store, hash-verified

814 * @param value New value to be written to the model.
815 */
816 writeValue(value: any): void {
817 this._assignValue(value);
818 }
819
820 /**
821 * Saves a callback function to be invoked when the select's value

Callers

nothing calls this directly

Calls 1

_assignValueMethod · 0.95

Tested by

no test coverage detected