MCPcopy
hub / github.com/dataarts/dat.gui / setValue

Method setValue

src/dat/controllers/Controller.js:89–97  ·  view source on GitHub ↗

* Change the value of object[property] * * @param {Object} newValue The new value of object[property]

(newValue)

Source from the content-addressed store, hash-verified

87 * @param {Object} newValue The new value of <code>object[property]</code>
88 */
89 setValue(newValue) {
90 this.object[this.property] = newValue;
91 if (this.__onChange) {
92 this.__onChange.call(this, newValue);
93 }
94
95 this.updateDisplay();
96 return this;
97 }
98
99 /**
100 * Gets the value of <code>object[property]</code>

Callers 10

onChangeMethod · 0.45
onChangeMethod · 0.45
onMouseDragMethod · 0.45
onMouseDragMethod · 0.45
onTouchMoveMethod · 0.45
onBlurMethod · 0.45
setSVMethod · 0.45
setHMethod · 0.45
GUI.jsFile · 0.45
recallSavedValueFunction · 0.45

Calls 1

updateDisplayMethod · 0.95

Tested by

no test coverage detected