MCPcopy Index your code
hub / github.com/pythongosssss/ComfyUI-Custom-Scripts / show

Method show

web/js/common/lightbox.js:83–87  ·  view source on GitHub ↗
(images, index)

Source from the content-addressed store, hash-verified

81 }
82
83 async show(images, index) {
84 this.images = images;
85 this.index = index || 0;
86 await this.update(0);
87 }
88
89 async update(shift) {
90 if (shift < 0 && this.index <= 0) {

Callers 3

addImageToFeedFunction · 0.45
constructorMethod · 0.45
addInfoOptionFunction · 0.45

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected