This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Selemondev
authored and
Selemondev
committed
Aug 16, 2023
1 parent
16ae9ee
commit 81fcc20
Showing
2 changed files
with
1 addition
and
54 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 |
---|---|---|
@@ -1,26 +1,6 @@ | ||
<script setup lang='ts'> | ||
import { ref } from 'vue' | ||
const isOpen = ref(false) | ||
</script> | ||
|
||
<template> | ||
<div class="grid place-items-center w-full min-h-screen"> | ||
<UButton label="Open" @click="isOpen = true" /> | ||
<USlideover v-model="isOpen" side="right" prevent-close> | ||
<UCard | ||
class="flex flex-col flex-1" | ||
:ui="{ body: { base: 'flex-1' }, ring: '', divide: 'divide-y divide-gray-100 dark:divide-gray-800' }" | ||
> | ||
<template #header> | ||
<div class="flex items-center justify-between"> | ||
<h3 class="text-base font-semibold leading-6 text-gray-900 dark:text-white"> | ||
Slideover | ||
</h3> | ||
<UButton intent="ghost" icon="heroicons:x-mark-20-solid" class="-my-1" @click="isOpen = false" /> | ||
</div> | ||
</template> | ||
</UCard> | ||
</USlideover> | ||
</div> | ||
<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