From a7a6a640b678a503f6ee4f193f626548ebc77d65 Mon Sep 17 00:00:00 2001 From: "gwenael.planchon" Date: Tue, 19 Mar 2024 18:32:43 +0100 Subject: [PATCH] =?UTF-8?q?ajouter=20boutons=20pour=20chaque=20r=C3=A9pons?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- science-quest/src/components/jeux/kahoot/KahootPartie.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/science-quest/src/components/jeux/kahoot/KahootPartie.vue b/science-quest/src/components/jeux/kahoot/KahootPartie.vue index 8f68573..c8e22d0 100644 --- a/science-quest/src/components/jeux/kahoot/KahootPartie.vue +++ b/science-quest/src/components/jeux/kahoot/KahootPartie.vue @@ -38,6 +38,11 @@ export default { } ) }, + repondre(reponse){ + console.log(reponse) + this.question=`Réponse "${reponse}" envoyée` + this.reponses=[] + }, //simuler l'api async DEBUG_obtenirQuestionNormale(){ return JSON.parse(` @@ -66,5 +71,6 @@ export default { \ No newline at end of file