MCPcopy Index your code
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / onOptionsChanged

Function onOptionsChanged

script.js:77–79  ·  view source on GitHub ↗

* Register callback to be called when the options are changed. * The callback receives no arguments. * @param callback

(callback)

Source from the content-addressed store, hash-verified

75 * @param callback
76 */
77function onOptionsChanged(callback) {
78 optionsChangedCallbacks.push(callback);
79}
80
81/**
82 * Register callback to be called when the options (in opts global variable) are available.

Callers 4

ui.jsFile · 0.85
token-counters.jsFile · 0.85
settings.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected