Playtest
This commit is contained in:
@@ -9,12 +9,14 @@ export interface Props {
|
||||
|
||||
const props = defineProps<Props>()
|
||||
|
||||
const emit = defineEmits(["click"])
|
||||
|
||||
const buttonsElement = ref<HTMLElement | null>(null)
|
||||
const rightClicked = ref(false)
|
||||
|
||||
function cardClick() {
|
||||
if (props.data == null) return
|
||||
console.log(JSON.parse(JSON.stringify(props.data.effects)))
|
||||
emit("click")
|
||||
}
|
||||
|
||||
function contextmenu(e: MouseEvent) {
|
||||
|
||||
Reference in New Issue
Block a user