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

25 lines
499 B
Vue

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