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)"
>
Charlotte Pipe & Foundry PVC 00711X 0600HA P-Trap w/ Union & Chrome Nut, PVC/DWV, Schedule 40, 1.5-In.
We Also Recommend
- choosing a selection results in a full page refresh