Files
api/web/components/Notifications/Sidebar.vue
T
Zack Spear fbbda5926b refactor: update my servers include file to handle CSS values
This commit updates the `myservers1.php` file in the `dynamix.my.servers` plugin. It adds functionality to handle CSS values in addition to the existing file handling logic. The code now checks for CSS values in the local manifest and includes them in the rendered HTML if found.
2024-09-30 11:56:37 -07:00

18 lines
695 B
Vue

<script setup lang="ts">
const visible = ref<boolean>(false);
const showSidebar = () => {
console.log('showSidebar');
visible.value = true;
};
</script>
<template>
<div class="card flex justify-center">
<Drawer v-model:visible="visible" header="Drawers" position="right" class="!w-full md:!w-80 lg:!w-[30rem]">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</Drawer>
<Button label="Open" class="p-button-rounded p-button-outlined" @click="showSidebar" />
</div>
</template>