ComfyUI/web/scripts/ui/imagePreview.js

4 lines
199 B
JavaScript

// Shim for scripts\ui\imagePreview.ts
export const calculateImageGrid = window.comfyAPI.imagePreview.calculateImageGrid;
export const createImageHost = window.comfyAPI.imagePreview.createImageHost;