docs(popover): update

This commit is contained in:
Benjamin Canac
2024-08-23 17:22:06 +02:00
parent 9dd9d5126a
commit 7673e51e20
5 changed files with 213 additions and 18 deletions

View File

@@ -0,0 +1,17 @@
<script setup lang="ts">
const open = ref(false)
defineShortcuts({
o: () => open.value = !open.value
})
</script>
<template>
<UPopover v-model:open="open">
<UButton label="Open" color="gray" variant="subtle" />
<template #content>
<Placeholder class="size-48 m-4 inline-flex" />
</template>
</UPopover>
</template>