mis-custom-nodes / comfyui_fill-nodes /web /nodes /image /SaveAndDisplayImage.js
MarkLilly's picture
Add files using upload-large-folder tool
c225a63 verified
Raw History Blame Contribute Delete
272 Bytes
import { app } from "../../../../scripts/app.js";
app.registerExtension({
name: "Comfy.SaveAndDisplayImage",
async nodeCreated(node) {
if (node.comfyClass === "SaveAndDisplayImage") {
node.addWidget("image", "preview", "");
}
}
});