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

62 lines
2.0 KiB
Vue
Raw Normal View History

2022-09-09 20:41:18 +00:00
<template>
2023-08-07 13:14:58 +00:00
<DocComponent title="Vue Tooltip Directive" header="Tooltip" description="Tooltip directive provides advisory information for a component." :componentDocs="docs" :apiDocs="['Tooltip']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
2022-09-09 20:41:18 +00:00
</template>
<script>
2023-09-21 11:21:43 +00:00
import AccessibilityDoc from '@/doc/tooltip/AccessibilityDoc.vue';
import AutoHideDoc from '@/doc/tooltip/AutoHideDoc.vue';
2023-11-02 07:21:31 +00:00
import CustomDoc from '@/doc/tooltip/CustomDoc.vue';
2023-09-21 11:21:43 +00:00
import DelayDoc from '@/doc/tooltip/DelayDoc.vue';
import EventDoc from '@/doc/tooltip/EventDoc.vue';
import ImportDoc from '@/doc/tooltip/ImportDoc.vue';
import PositionDoc from '@/doc/tooltip/PositionDoc.vue';
2023-08-07 13:14:58 +00:00
import PTComponent from '@/doc/tooltip/pt/index.vue';
import ThemingDoc from '@/doc/tooltip/theming/index.vue';
2022-09-09 20:41:18 +00:00
export default {
2023-02-28 08:29:30 +00:00
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'position',
label: 'Position',
component: PositionDoc
},
{
id: 'event',
label: 'Event',
component: EventDoc
},
{
id: 'autohide',
label: 'Auto Hide',
component: AutoHideDoc
},
2023-04-09 15:12:31 +00:00
{
id: 'delay',
label: 'Delay',
component: DelayDoc
},
2023-11-02 07:21:31 +00:00
{
id: 'custom',
label: 'Custom',
component: CustomDoc
},
2023-02-28 08:29:30 +00:00
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
2023-08-07 13:14:58 +00:00
ptComponent: PTComponent,
themingDoc: ThemingDoc
2023-02-28 08:29:30 +00:00
};
2022-09-09 20:41:18 +00:00
}
};
</script>