primevue-mirror/apps/showcase/pages/toast/index.vue

80 lines
2.6 KiB
Vue
Raw Permalink Normal View History

2022-09-09 20:41:18 +00:00
<template>
<DocComponent title="Vue Toast Component" header="Toast" description="Toast is used to display messages in an overlay." :componentDocs="docs" :apiDocs="['Toast', 'ToastService-UseToast']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-02-28 08:29:30 +00:00
import AccessibilityDoc from '@/doc/toast/AccessibilityDoc.vue';
import BasicDoc from '@/doc/toast/BasicDoc.vue';
2023-10-25 15:56:34 +00:00
import HeadlessDoc from '@/doc/toast/HeadlessDoc.vue';
2023-02-28 08:29:30 +00:00
import ImportDoc from '@/doc/toast/ImportDoc.vue';
import MultipleDoc from '@/doc/toast/MultipleDoc.vue';
import PositionDoc from '@/doc/toast/PositionDoc.vue';
import SeverityDoc from '@/doc/toast/SeverityDoc.vue';
import StickyDoc from '@/doc/toast/StickyDoc.vue';
import TemplateDoc from '@/doc/toast/TemplateDoc.vue';
import ToastServiceDoc from '@/doc/toast/ToastServiceDoc.vue';
2023-04-28 13:41:43 +00:00
import PTComponent from '@/doc/toast/pt/index.vue';
import ThemingDoc from '@/doc/toast/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
data() {
return {
2023-02-28 08:29:30 +00:00
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'toast-service',
label: 'Toast Service',
component: ToastServiceDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'severity',
label: 'Severity',
component: SeverityDoc
},
{
id: 'position',
label: 'Position',
component: PositionDoc
},
{
id: 'multiple',
label: 'Multiple',
component: MultipleDoc
},
{
id: 'sticky',
label: 'Sticky',
component: StickyDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
2023-10-25 15:56:34 +00:00
{
id: 'headless',
label: 'Headless',
component: HeadlessDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
2023-04-28 13:41:43 +00:00
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
2022-09-09 20:41:18 +00:00
};
}
};
</script>