This commit is contained in:
Georges KABBOUCHI
2021-12-30 13:06:43 +02:00
parent 707763736c
commit bc55a609b1
2 changed files with 28 additions and 2 deletions
+23
View File
@@ -19,6 +19,29 @@
</template>
<template #content> Tippy content </template>
</tippy>
<br>
<br>
<br>
<tippy>
<template #default="{ state }">
<button
:class="state.isShown ? 'bg-gray-500' : 'bg-gray-200'"
class="
text-gray-400
select-none
cursor-pointer
p-2
rounded-md
hover:bg-gray-50
"
>
Trigger tippy
</button>
</template>
<template #content> Tippy content </template>
</tippy>
</template>
<script>