first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<script setup>
|
||||
const isTooltipVisible = ref(false)
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="demo-space-x">
|
||||
<VBtn @click="isTooltipVisible = !isTooltipVisible">
|
||||
toggle tooltip
|
||||
</VBtn>
|
||||
|
||||
<VTooltip
|
||||
:model-value="isTooltipVisible"
|
||||
location="top"
|
||||
>
|
||||
<template #activator="{ props }">
|
||||
<VIcon
|
||||
v-bind="props"
|
||||
icon="ri-instagram-line"
|
||||
/>
|
||||
</template>
|
||||
<span>Programmatic tooltip</span>
|
||||
</VTooltip>
|
||||
</div>
|
||||
</template>
|
Reference in New Issue
Block a user