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: Inhaled Mosquito Killer
Product weight: 300g
Product box gauge: 50.5 * 31 * 60CM
Packing size: 8.5 * 8.5 * 14CM
Battery capacity: 2000 mAh
Product color: blue, orange
Whole weight: 20KG
Product lamp beads: 2835 white light
Product material: plastic
Rated voltage: 4.5V
Suitable for the scene: bedroom office outdoor camping