Add prefix for v-tippy events to prevent component event conflicts

This commit is contained in:
Georges KABBOUCHI
2020-12-02 22:31:54 +02:00
parent 6fff40bddf
commit fa4297e158
3 changed files with 254 additions and 228 deletions
+1 -1
View File
@@ -72,7 +72,7 @@
<span class="font-semibold mr-4">v-tippy:</span>
<button
class="text-sm py-2 px-3 bg-gray-900 text-white rounded-lg"
@mount="log"
@tippyMount="() => log('v-tippy mounted')"
v-tippy="{ content: 'Hello ' + counter}"
>Tippy directive</button>