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

50 lines
1.6 KiB
Vue
Raw Normal View History

2024-02-02 12:40:35 +00:00
<template>
2024-09-17 10:26:24 +00:00
<DocComponent title="Vue Float Label" header="FloatLabel" description="FloatLabel visually integrates a label with its form element." :componentDocs="docs" :ptTabComponent="ptComponent" :apiDocs="['FloatLabel']" :themingDocs="themingDoc" />
2024-02-02 12:40:35 +00:00
</template>
<script>
import AccessibilityDoc from '@/doc/floatlabel/AccessibilityDoc.vue';
import BasicDoc from '@/doc/floatlabel/BasicDoc.vue';
import ImportDoc from '@/doc/floatlabel/ImportDoc.vue';
2024-09-17 10:26:24 +00:00
import InvalidDoc from '@/doc/floatlabel/InvalidDoc.vue';
2024-02-07 12:08:53 +00:00
import PTComponent from '@/doc/floatlabel/pt/index.vue';
2024-02-02 12:40:35 +00:00
import ThemingDoc from '@/doc/floatlabel/theming/index.vue';
2024-09-17 10:26:24 +00:00
import VariantsDoc from '@/doc/floatlabel/VariantsDoc.vue';
2024-02-02 12:40:35 +00:00
export default {
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
2024-09-17 10:26:24 +00:00
{
id: 'variants',
label: 'Variants',
component: VariantsDoc
},
{
id: 'invalid',
label: 'Invalid',
component: InvalidDoc
},
2024-02-02 12:40:35 +00:00
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
2024-02-07 12:08:53 +00:00
ptComponent: PTComponent,
2024-02-02 12:40:35 +00:00
themingDoc: ThemingDoc
};
}
};
</script>