This commit is contained in:
Georges KABBOUCHI
2022-03-10 15:44:15 +02:00
parent bdbb55fe96
commit 8abfbe0549
2 changed files with 26 additions and 9 deletions
+12 -2
View File
@@ -1,16 +1,26 @@
<template>
<div>
<tippy
content="Hello!"
:theme="theme"
sticky
:showOnCreate="true"
:hideOnClick="false"
trigger="manual"
interactive
>
<button class="text-sm py-2 px-3 bg-gray-900 text-white rounded-lg">
Theme {{ theme }}
</button>
<template #content>
Hello!
<button
@click="toggleTheme"
class="mt-4 text-sm py-2 px-3 bg-gray-900 text-white rounded-lg"
>
Toggle Theme - {{ theme }}
</button>
</template>
</tippy>
<br />