MCPcopy Index your code
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / valueChanged

Function valueChanged

web/js/common/binding.js:211–223  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210 let lastValue;
211 async function valueChanged() {
212 const state = {
213 $this: widget,
214 $source: source,
215 $node: node,
216 };
217
218 for (const callback of binding.callback) {
219 await invokeCallback(callback, state);
220 }
221
222 app.graph.setDirtyCanvas(true, false);
223 }
224
225 const cb = source.callback;
226 source.callback = function () {

Callers 1

beforeRegisterNodeDefFunction · 0.85

Calls 1

invokeCallbackFunction · 0.85

Tested by

no test coverage detected