Feat : add onclick event for text

This commit is contained in:
2024-07-07 17:17:20 +02:00
parent 5c8ad7b906
commit 174253cf4d
74 changed files with 91 additions and 89 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
<g transform="translate(0,80)">
<g class="svg_effect">
<circle cx="30" cy="27.5" r="15" fill="url(#grad2)" filter="url(#drop-shadow)" />
<g transform="translate(137.0,31.0)" v-bind:class="{used:used_effects_indexes.includes(1)}">
<g transform="translate(137.0,31.0)" class="svg_effect" v-bind:class="{used:used_effects_indexes.includes(1)}" v-on:click="effectClick(1)">
<text x="0" y="-0.0" font-size="14" text-anchor="middle" fill="black" font-family="Helvetica">Piochez une carte.</text>
</g>
</g>

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB