primevue-mirror/pages/tooltip/index.vue

56 lines
1.8 KiB
Vue
Executable File

<template>
<DocComponent title="Vue Tooltip Directive" header="Tooltip" description="Tooltip directive provides advisory information for a component." :componentDocs="docs" :apiDocs="['Tooltip']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
</template>
<script>
import AccessibilityDoc from '@/doc/tooltip/AccessibilityDoc.vue';
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';
import TemplateDoc from '@/doc/tooltip/TemplateDoc.vue';
import PTComponent from '@/doc/tooltip/pt/index.vue';
import ThemingDoc from '@/doc/tooltip/theming/index.vue';
export default {
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'position',
label: 'Position',
component: PositionDoc
},
{
id: 'event',
label: 'Event',
component: EventDoc
},
{
id: 'template',
label: 'Template',
component: TemplateDoc
},
{
id: 'delay',
label: 'Delay',
component: DelayDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
};
}
};
</script>