mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-05-18 11:13:15 +12:00
32 lines
476 B
Vue
32 lines
476 B
Vue
<template>
|
|
<q-btn
|
|
color="primary"
|
|
data-cy="button"
|
|
>
|
|
Button
|
|
<q-tooltip
|
|
v-model="showTooltip"
|
|
data-cy="tooltip"
|
|
class="bg-red"
|
|
:offset="[10, 10]"
|
|
>
|
|
Here I am!
|
|
</q-tooltip>
|
|
</q-btn>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { ref, defineComponent } from 'vue'
|
|
|
|
export default defineComponent({
|
|
name: 'QuasarTooltip',
|
|
setup () {
|
|
const showTooltip = ref(true)
|
|
|
|
return {
|
|
showTooltip
|
|
}
|
|
}
|
|
})
|
|
</script>
|