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

25 lines
462 B
Vue
Raw Normal View History

2024-09-19 07:01:54 +00:00
<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<Knob v-model="value" />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
value: 0,
docs: [
{
data: getPTOptions('Knob'),
key: 'Knob'
}
]
};
}
};
</script>