1) { dragging = true; dragStartX = $event.clientX - panX; dragStartY = $event.clientY - panY; }"
@mousemove.window="if (dragging) { panX = $event.clientX - dragStartX; panY = $event.clientY - dragStartY; }"
@mouseup.window="dragging = false"
@touchstart="
if ($event.touches.length === 2) {
pinchStartDist = pinchDistance($event.touches);
pinchStartScale = scale;
} else if ($event.touches.length === 1 && scale > 1) {
dragging = true;
dragStartX = $event.touches[0].clientX - panX;
dragStartY = $event.touches[0].clientY - panY;
}
"
@touchmove.prevent="
if ($event.touches.length === 2) {
scale = Math.min(Math.max(pinchStartScale * (pinchDistance($event.touches) / pinchStartDist), 1), 4);
if (scale === 1) { panX = 0; panY = 0; }
} else if ($event.touches.length === 1 && dragging) {
panX = $event.touches[0].clientX - dragStartX;
panY = $event.touches[0].clientY - dragStartY;
}
"
@touchend="dragging = false"
>
Slimline Phone Case
Sold by Mohakash Electronics (Sample) · Accessories
৳349.00
Sample demo listing for Slimline Phone Case — added to preview the storefront homepage layout, not a real product for sale yet.
In stock
Ratings & Reviews
No reviews yet for this product.