Skip to content

Commit

Permalink
add basic function to buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
yuru-baku committed Feb 23, 2024
1 parent e233399 commit 33a8b71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend-vue/src/views/GameView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { ConnectionService } from '@/services/ConnectionService';
import { ref } from 'vue';
var showMenu = ref(false);
var showUsers = ref(false);
const conService = new ConnectionService();
const cardService = new CardService(conService);
Expand Down Expand Up @@ -32,7 +33,7 @@ const cardService = new CardService(conService);
<button type="button" @click="showMenu = !showMenu">
<font-awesome-icon :icon="['fas', 'gear']" />
</button>
<button type="button">
<button type="button" @click="showUsers = !showUsers">
<font-awesome-icon :icon="['fas', 'users']" />
</button>
<button type="button">
Expand All @@ -41,7 +42,7 @@ const cardService = new CardService(conService);
<button type="button">
<font-awesome-icon :icon="['fas', 'dice-d20']" />
</button>
<button type="button">
<button type="button" @click="$router.go(-1)">
<font-awesome-icon :icon="['fas', 'door-closed']" />
</button>
</div>
Expand Down

0 comments on commit 33a8b71

Please sign in to comment.