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

31 lines
1.0 KiB
Vue
Raw Permalink Normal View History

2024-09-18 13:05:52 +00:00
<template>
2024-09-20 12:22:44 +00:00
<DocPTViewer :docs="docs">
2024-09-18 13:05:52 +00:00
<Inplace>
<template #display> View Content </template>
<template #content>
<p class="m-0">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</template>
</Inplace>
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
2024-09-20 12:22:44 +00:00
docs: [
2024-09-18 13:05:52 +00:00
{
data: getPTOptions('Inplace'),
key: 'Inplace'
}
]
};
}
};
</script>