8 || deltaY > 8)) {
isHorizontalSwipe = deltaX > deltaY;
}
if (isHorizontalSwipe) {
dragOffset = currentX - touchStartX;
}
"
@touchend="
isDragging = false;
const threshold = containerWidth * 0.15;
const deltaX = Math.abs(currentX - touchStartX);
const deltaY = Math.abs($event.changedTouches[0].clientY - touchStartY);
if (deltaX < 8 && deltaY < 8) {
openLightbox(activeImage);
} else if (isHorizontalSwipe && dragOffset < -threshold) {
activeImage = (activeImage + 1) % totalImages;
} else if (isHorizontalSwipe && dragOffset > threshold) {
activeImage = (activeImage - 1 + totalImages) % totalImages;
}
dragOffset = 0;
isHorizontalSwipe = null;
"
>
1 / 7
50) {
if (diff > 0) { nextImage(); } else { prevImage(); }
}
"
>
1 / 7
$21.652
+ impuestos: $4.547
Cantidad:
- Compra protegida
- Envío a todo el país
- Garantía de entrega
Preguntas y respuestas
Tu pregunta fue enviada. Te responderemos pronto.
¿Dónde te enviamos la respuesta?
Tus preguntas
· Recibirás la respuesta a
Productos relacionados
Metoware
Soporte de bola de remolque METOWARE 2" (5.08 cm) 6000 lbs
4,7
|
+400 vendidos
$486.387
$367.271
24% OFF