mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-05-18 11:13:15 +12:00
20 lines
315 B
Vue
20 lines
315 B
Vue
<template>
|
|
<q-btn
|
|
data-cy="button"
|
|
label="test emit"
|
|
color="positive"
|
|
rounded
|
|
icon="edit"
|
|
@click="$emit('test')"
|
|
/>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue'
|
|
|
|
export default defineComponent({
|
|
name: 'QuasarButton',
|
|
emits: { test: () => true }
|
|
})
|
|
</script>
|