-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Popover): manual mode & horizontal offset (#781)
Co-authored-by: Benjamin Canac <[email protected]> Co-authored-by: Lnunu <[email protected]>
- Loading branch information
1 parent
827f2f4
commit 92b8618
Showing
3 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<script setup> | ||
const open = ref(false) | ||
</script> | ||
|
||
<template> | ||
<div class="flex gap-4 items-center"> | ||
<UToggle v-model="open" /> | ||
<UPopover :open="open"> | ||
<UButton color="white" label="Open" trailing-icon="i-heroicons-chevron-down-20-solid" /> | ||
|
||
<template #panel> | ||
<div class="p-4"> | ||
<Placeholder class="h-20 w-48" /> | ||
</div> | ||
</template> | ||
</UPopover> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92b8618
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ui – ./
ui-git-dev-nuxt-js.vercel.app
ui.nuxt.com
ui-nuxt-js.vercel.app