Image compare widget

This commit is contained in:
space-nuko
2023-05-11 00:14:25 -05:00
parent 0013833b16
commit bc4128f07a
8 changed files with 242 additions and 1 deletions

View File

@@ -119,6 +119,12 @@ export default class ComfyAPI extends EventTarget {
case "executed":
this.dispatchEvent(new CustomEvent("executed", { detail: msg.data }));
break;
case "execution_cached":
this.dispatchEvent(new CustomEvent("execution_cached", { detail: msg.data }));
break;
case "execution_error":
this.dispatchEvent(new CustomEvent("execution_error", { detail: msg.data }));
break;
default:
if (this.registered.has(msg.type)) {
this.dispatchEvent(new CustomEvent(msg.type, { detail: msg.data }));