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

Method writeValue

src/material/chips/chip-listbox.ts:250–256  ·  view source on GitHub ↗

* Implemented as part of ControlValueAccessor. * @docs-private

(value: any)

Source from the content-addressed store, hash-verified

248 * @docs-private
249 */
250 writeValue(value: any): void {
251 if (value != null) {
252 this.value = value;
253 } else {
254 this.value = undefined;
255 }
256 }
257
258 /**
259 * Implemented as part of ControlValueAccessor.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected