2023-02-28 08:29:30 +00:00
|
|
|
<template>
|
|
|
|
<DocSectionText v-bind="$attrs">
|
|
|
|
<p>Title section of a tab is customized with the <i>header</i> slot.</p>
|
|
|
|
</DocSectionText>
|
|
|
|
<div class="card">
|
2023-10-23 20:35:14 +00:00
|
|
|
<Accordion :activeIndex="0">
|
2023-02-28 08:29:30 +00:00
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Amy Elsner</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="3" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/onyamalimba.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Onyama Limba</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="4" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
|
|
|
|
ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/ionibowcher.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Ioni Bowcher</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="2" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
|
|
|
|
officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
</Accordion>
|
|
|
|
</div>
|
|
|
|
<DocSectionCode :code="code" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
code: {
|
2023-09-22 12:54:14 +00:00
|
|
|
basic: `
|
2023-10-23 20:35:14 +00:00
|
|
|
<Accordion :activeIndex="0">
|
2023-02-28 08:29:30 +00:00
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Amy Elsner</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="3" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/onyamalimba.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Onyama Limba</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="4" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
|
|
|
|
ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/ionibowcher.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Ioni Bowcher</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="2" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
|
|
|
|
officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
2023-10-15 09:38:39 +00:00
|
|
|
</Accordion>
|
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
options: `
|
|
|
|
<template>
|
2023-02-28 08:29:30 +00:00
|
|
|
<div class="card">
|
2023-10-23 20:35:14 +00:00
|
|
|
<Accordion :activeIndex="0">
|
2023-02-28 08:29:30 +00:00
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Amy Elsner</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="3" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/onyamalimba.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Onyama Limba</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="4" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
|
|
|
|
ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/ionibowcher.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Ioni Bowcher</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="2" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
|
|
|
|
officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
</Accordion>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<\/script>
|
2023-10-15 09:38:39 +00:00
|
|
|
`,
|
2023-09-22 12:54:14 +00:00
|
|
|
composition: `
|
|
|
|
<template>
|
2023-02-28 08:29:30 +00:00
|
|
|
<div class="card">
|
2023-10-23 20:35:14 +00:00
|
|
|
<Accordion :activeIndex="0">
|
2023-02-28 08:29:30 +00:00
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/amyelsner.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Amy Elsner</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="3" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
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. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/onyamalimba.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Onyama Limba</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="4" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim
|
|
|
|
ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
<AccordionTab>
|
|
|
|
<template #header>
|
2023-10-23 20:35:14 +00:00
|
|
|
<span class="flex align-items-center gap-2 w-full">
|
|
|
|
<Avatar image="https://primefaces.org/cdn/primevue/images/avatar/ionibowcher.png" shape="circle" />
|
|
|
|
<span class="font-bold white-space-nowrap">Ioni Bowcher</span>
|
2024-01-23 22:58:13 +00:00
|
|
|
<Badge value="2" class="ml-auto mr-2" />
|
2023-10-23 20:35:14 +00:00
|
|
|
</span>
|
2023-02-28 08:29:30 +00:00
|
|
|
</template>
|
2023-10-21 12:32:52 +00:00
|
|
|
<p class="m-0">
|
2023-02-28 08:29:30 +00:00
|
|
|
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui
|
|
|
|
officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus.
|
|
|
|
</p>
|
|
|
|
</AccordionTab>
|
|
|
|
</Accordion>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
|
|
<\/script>
|
2023-10-23 20:35:14 +00:00
|
|
|
`
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|