@everymatrix/casino-random-game 0.0.411 → 0.0.412
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-random-game",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.412",
|
|
4
4
|
"main": "dist/casino-random-game.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": "
|
|
39
|
+
"gitHead": "915e53c91820558c3cedd66aa2fa8a4343a6d67b"
|
|
40
40
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
export let gameevent:string = '';
|
|
11
11
|
export let lang:string = '';
|
|
12
12
|
export let randombuttonicon:string = '';
|
|
13
|
+
export let buttontext: string = '';
|
|
13
14
|
|
|
14
15
|
let games:any = [];
|
|
15
16
|
let randomGame:any = '';
|
|
@@ -145,7 +146,11 @@
|
|
|
145
146
|
{/if}
|
|
146
147
|
<div class="RandomButtonWrapper" part="RandomButtonWrapper">
|
|
147
148
|
<button class="RandomButton" part="RandomButton" on:click={() => getRandomGame()}>
|
|
148
|
-
|
|
149
|
+
{#if buttontext}
|
|
150
|
+
<span class="RandomButtonText">{buttontext}</span>
|
|
151
|
+
{:else if !buttontext}
|
|
152
|
+
<span class="RandomButtonText" part="RandomButtonText">{$_('randomGame.playRandomGame')}</span>
|
|
153
|
+
{/if}
|
|
149
154
|
<span class="RandomButtonIcon" part="RandomButtonIcon">
|
|
150
155
|
{@html randombuttonicon}
|
|
151
156
|
</span>
|