summaryrefslogtreecommitdiff
path: root/scripts/cards/card.js
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-08-25 16:10:17 -0400
committerKyle Gunger <kgunger12@gmail.com>2022-08-25 16:10:17 -0400
commit1fd40d997854e0f23c22ef7d06c0a0a0e5140d89 (patch)
treed91c71668b6b6d561b8181343e09b6e3d3459a2e /scripts/cards/card.js
parent9ec343c02d6eb9a9a9f58fef826d71abb84b6384 (diff)
Touch support
Diffstat (limited to 'scripts/cards/card.js')
-rw-r--r--scripts/cards/card.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/cards/card.js b/scripts/cards/card.js
index 69312e9..e49aeba 100644
--- a/scripts/cards/card.js
+++ b/scripts/cards/card.js
@@ -15,6 +15,10 @@ class Card {
this.e.style.setProperty("--top", "0px");
this.e.card = this;
+ this.getData = () => {
+ return data;
+ };
+
this.id = id;
this.deck = deck;
}