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

24 lines
532 B
Vue
Raw Normal View History

2024-09-18 09:56:32 +00:00
<template>
<DocSectionText v-bind="$attrs" />
<DocPTViewer :docs="docs">
<Image src="https://primefaces.org/cdn/primevue/images/galleria/galleria10.jpg" alt="Image" width="250" preview />
</DocPTViewer>
</template>
<script>
import { getPTOptions } from '@/components/doc/helpers';
export default {
data() {
return {
docs: [
{
data: getPTOptions('Image'),
key: 'Image'
}
]
};
}
};
</script>