-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Popover): ability to add overlay (#1014)
- Loading branch information
1 parent
819b5f8
commit 06d4510
Showing
4 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
docs/components/content/examples/PopoverExampleOverlay.vue
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,13 @@ | ||
<template> | ||
<div class="flex gap-4 items-center"> | ||
<UPopover overlay> | ||
<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
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