MCPcopy Create free account
hub / github.com/neomjs/neo / afterSetValue

Method afterSetValue

src/filter/ToggleOperatorsButton.mjs:50–62  ·  view source on GitHub ↗

* Triggered after the value config got changed * @param {String|null} value * @param {String|null} oldValue

(value, oldValue)

Source from the content-addressed store, hash-verified

48 * @param {String|null} oldValue
49 */
50 afterSetValue(value, oldValue) {
51 if (oldValue !== undefined) {
52 let me = this;
53
54 me.text = value;
55
56 me.fire('change', {
57 component: me,
58 oldValue,
59 value
60 })
61 }
62 }
63
64 /**
65 * Triggered before the operators config gets changed

Callers

nothing calls this directly

Calls 1

fireMethod · 0.45

Tested by

no test coverage detected