MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / nextImage

Function nextImage

ui/media/js/main.js:486–490  ·  view source on GitHub ↗
(img)

Source from the content-addressed store, hash-verified

484 }
485
486 function nextImage(img) {
487 const allImages = Array.from(outputContainer.parentNode.querySelectorAll(".imgItem img"))
488 const index = allImages.indexOf(img)
489 return allImages.slice(index + 1)[0]
490 }
491
492 function imageModalParameter(img) {
493 const previousImg = previousImage(img)

Callers 1

imageModalParameterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected