1) { lightboxIndex = (lightboxIndex - 1 + lightboxItems.length) % lightboxItems.length; imgModalSrc = lightboxItems[lightboxIndex].src; imgModalDesc = lightboxItems[lightboxIndex].alt || ''; selectedId = String(lightboxItems[lightboxIndex].id); }"
@keydown.arrow-right.window="if (imgModal && lightboxItems.length > 1) { lightboxIndex = (lightboxIndex + 1) % lightboxItems.length; imgModalSrc = lightboxItems[lightboxIndex].src; imgModalDesc = lightboxItems[lightboxIndex].alt || ''; selectedId = String(lightboxItems[lightboxIndex].id); }"
x-effect="document.body.classList.toggle('product-lightbox-open', imgModal)"
>
Item Details
Product name: Layered partition
Product material: abs
Product color: white
Product size: A: Front stretch: 28.3 * 10cm
After stretching: 44 * 10cm
B: Before stretching: 38 * 10cm
After stretching: 54.2 * 10cm