wip
This commit is contained in:
1 parent
f013d2563e
commit
884b468839
15 files changed
+319
-251
No files matched your search
@@ -50,3 +50,20 @@ interact(".piece").draggable({
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
function toggle_type(mode) {
|
||||
console.log(mode);
|
||||
}
|
||||
|
||||
|
||||
document.addEventListener("alpine:init", () => {
|
||||
Alpine.store("main", {
|
||||
players: [],
|
||||
console(index) {
|
||||
console.log(this.players[index]);
|
||||
},
|
||||
loadPlayer(data) {
|
||||
this.players = data;
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user