MCPcopy
hub / github.com/angular/components / updateControlValue

Method updateControlValue

src/dev-app/slider/slider-demo.ts:91–96  ·  view source on GitHub ↗
(input: EventTarget | null)

Source from the content-addressed store, hash-verified

89 this.disabled = (input as HTMLInputElement).checked;
90 }
91 updateControlValue(input: EventTarget | null): void {
92 if (!input) {
93 return;
94 }
95 this.control.setValue((input as HTMLInputElement).value);
96 }
97 updateControlDisabledState(input: EventTarget | null): void {
98 if (!input) {
99 return;

Callers

nothing calls this directly

Calls 1

setValueMethod · 0.45

Tested by

no test coverage detected