feat: add support for vue components in useTippy

This commit is contained in:
nknwns
2025-03-20 04:12:17 +07:00
parent 1ed1cb734a
commit 90d7f2082f
+2 -1
View File
@@ -232,7 +232,8 @@ export function useTippy(
if (typeof target === 'function') target = target()
if (target) {
instance.value = tippy(target, getProps(opts))
//@ts-ignore
instance.value = tippy(target?.$el ?? target, getProps(opts))
//@ts-ignore
target.$tippy = response
}