@beyonk/svelte-carousel
Advanced tools
Comparing version 2.8.0 to 2.9.0
@@ -330,5 +330,11 @@ (function (global, factory) { | ||
var Siema = unwrapExports(siema_min); | ||
var siema_min$1 = unwrapExports(siema_min); | ||
var siema_min_1 = siema_min.Siema; | ||
var Siema = /*#__PURE__*/Object.freeze({ | ||
'default': siema_min$1, | ||
__moduleExports: siema_min, | ||
Siema: siema_min_1 | ||
}); | ||
/* src/Carousel.svelte generated by Svelte v3.6.1 */ | ||
@@ -697,2 +703,3 @@ | ||
autoplay && clearInterval(timer); | ||
timer = null; | ||
controller.destroy(); | ||
@@ -721,6 +728,7 @@ } | ||
clearInterval(timer); | ||
timer = null; | ||
} | ||
function resume() { | ||
if (autoplay) { | ||
if (autoplay && !timer) { | ||
timer = setInterval(right, autoplay); | ||
@@ -727,0 +735,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
"main": "dist/index.js", | ||
"version": "2.8.0", | ||
"version": "2.9.0", | ||
"scripts": { | ||
@@ -9,0 +9,0 @@ "build": "rollup -c", |
@@ -1,4 +0,4 @@ | ||
<p align="center"> | ||
<img width="186" height="90" src="https://user-images.githubusercontent.com/218949/44782765-377e7c80-ab80-11e8-9dd8-fce0e37c235b.png" alt="Beyonk" /> | ||
</p> | ||
<a href="https://beyonk.com"> | ||
<img src="https://user-images.githubusercontent.com/218949/144224348-1b3a20d5-d68e-4a7a-b6ac-6946f19f4a86.png" width="198" /> | ||
</a> | ||
@@ -149,2 +149,2 @@ ## Svelte Carousel | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
85670
1564
150