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

Method updateDisplay

src/dat/controllers/StringController.js:58–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 }
57
58 updateDisplay() {
59 // Stops the caret from moving on account of:
60 // keyup -> setValue -> updateDisplay
61 if (!dom.isActive(this.__input)) {
62 this.__input.value = this.getValue();
63 }
64 return super.updateDisplay();
65 }
66}
67
68export default StringController;

Callers 1

constructorMethod · 0.95

Calls 1

getValueMethod · 0.80

Tested by

no test coverage detected