MCPcopy Create free account
hub / github.com/DenOfEquity/ersatzForge / updateInput

Function updateInput

javascript/ui.js:328–332  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

326// Simulate an `input` DOM event for Gradio Textbox component. Needed after you edit its contents in javascript, otherwise your edits
327// will only visible on web page and not sent to python.
328function updateInput(target) {
329 let e = new Event("input", {bubbles: true});
330 Object.defineProperty(e, "target", {value: target});
331 target.dispatchEvent(e);
332}
333
334
335var desiredCheckpointName = null;

Callers 10

setupResolutionPastingFunction · 0.70
setupAccordionFunction · 0.70
updatePromptAreaFunction · 0.70
saveCardPreviewFunction · 0.70
_update_searchFunction · 0.70
initMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected