MCPcopy Create free account
hub / github.com/cryptii/cryptii / updateValue

Method updateValue

src/View/Field/Number.js:26–31  ·  view source on GitHub ↗

* Retrieves value from model and updates it in view. * @return {FieldView} Fluent interface

()

Source from the content-addressed store, hash-verified

24 * @return {FieldView} Fluent interface
25 */
26 updateValue () {
27 const value = this.getModel().getValue()
28 this._$input.value = value.toString()
29 this._updateValueDisplay()
30 return this
31 }
32
33 /**
34 * Retrieves the value description from the model and updates it in view.

Callers

nothing calls this directly

Calls 4

_updateValueDisplayMethod · 0.95
toStringMethod · 0.80
getValueMethod · 0.45
getModelMethod · 0.45

Tested by

no test coverage detected