@everymatrix/casino-slider 0.0.363 → 0.0.365

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-slider",
3
- "version": "0.0.363",
3
+ "version": "0.0.365",
4
4
  "main": "dist/casino-slider.js",
5
5
  "svelte": "src/index.ts",
6
6
  "scripts": {
@@ -36,5 +36,5 @@
36
36
  "publishConfig": {
37
37
  "access": "public"
38
38
  },
39
- "gitHead": "c387eff5f038dffc7fde68f7e15e1ca719f4f209"
39
+ "gitHead": "f4dabfce4df55a591981f327a670cc250a2ed257"
40
40
  }
@@ -18,7 +18,7 @@
18
18
  export let isprimarymenu:boolean = false;
19
19
  export let issecondarymenu:boolean = false;
20
20
  export let lang:string = '';
21
- export let activeindex:string;
21
+ export let activeindex:string = '0';
22
22
 
23
23
  setupI18n({ withLocale: 'en', translations: {}});
24
24
 
@@ -61,7 +61,7 @@
61
61
 
62
62
  const setActiveIndex = ():void => {
63
63
  activeIndex = parseInt(activeindex, 10);
64
- if(!prevIndex){
64
+ if (!prevIndex) {
65
65
  prevIndex = activeIndex;
66
66
  }
67
67
  }