{ timeout = setInterval( function(){ if (current >= 2) { current = 0; } else if (current < 2) { current++; } }, $store?.extra_images?.switch_image_timeout ? $store.extra_images.switch_image_timeout : 1800); }" @mouseleave="(e) => { clearInterval(timeout); current = 0 }"> Byxor 1099 kr I lager { loading = true; await $store.cart.addToCart({ name: 'Byxor', price: '1099 kr', brand: '', category: '', 'variant': '', products_id: '107', quantity: 1, redirect: true }) loading = false; } " > Köp