primevue-mirror/apps/showcase/doc/slider/pt/PTViewer.vue

25 lines
484 B
Vue

<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<Slider v-model="value" class="w-56" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: null,
docs: [
{
data: getPTOptions('Slider'),
key: 'Slider'
}
]
};
}
};
</script>