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

74 lines
2.3 KiB
Vue
Executable File

<template>
<DocComponent title="Vue Slider Component" header="Slider" description="Slider is a component to provide input with a drag handle." :componentDocs="docs" :apiDocs="['Slider']" :ptTabComponent="ptComponent" :themingDocs="themingDoc" />
</template>
<script>
import AccessibilityDoc from '@/doc/slider/AccessibilityDoc.vue';
import BasicDoc from '@/doc/slider/BasicDoc.vue';
import FilterDoc from '@/doc/slider/FilterDoc.vue';
import FormsDoc from '@/doc/slider/FormsDoc.vue';
import ImportDoc from '@/doc/slider/ImportDoc.vue';
import InputDoc from '@/doc/slider/InputDoc.vue';
import RangeDoc from '@/doc/slider/RangeDoc.vue';
import StepDoc from '@/doc/slider/StepDoc.vue';
import VerticalDoc from '@/doc/slider/VerticalDoc.vue';
import PTComponent from '@/doc/slider/pt/index.vue';
import ThemingDoc from '@/doc/slider/theming/index.vue';
export default {
data() {
return {
docs: [
{
id: 'import',
label: 'Import',
component: ImportDoc
},
{
id: 'basic',
label: 'Basic',
component: BasicDoc
},
{
id: 'forms',
label: 'Forms',
component: FormsDoc
},
{
id: 'input',
label: 'Input',
component: InputDoc
},
{
id: 'step',
label: 'Step',
component: StepDoc
},
{
id: 'range',
label: 'Range',
component: RangeDoc
},
{
id: 'filter',
label: 'Filter',
component: FilterDoc
},
{
id: 'vertical',
label: 'Vertical',
component: VerticalDoc
},
{
id: 'accessibility',
label: 'Accessibility',
component: AccessibilityDoc
}
],
ptComponent: PTComponent,
themingDoc: ThemingDoc
};
}
};
</script>