2024-10-03 17:09:21 +00:00
|
|
|
<template>
|
|
|
|
<DocPTViewer :docs="docs">
|
|
|
|
<ImageCompare style="width: 728px; height: 410px">
|
|
|
|
<template #left>
|
2024-10-23 23:14:25 +00:00
|
|
|
<img src="https://primefaces.org/cdn/primevue/images/compare/island1.jpg" />
|
2024-10-03 17:09:21 +00:00
|
|
|
</template>
|
|
|
|
<template #right>
|
2024-10-23 23:14:25 +00:00
|
|
|
<img src="https://primefaces.org/cdn/primevue/images/compare/island2.jpg" />
|
2024-10-03 17:09:21 +00:00
|
|
|
</template>
|
|
|
|
</ImageCompare>
|
|
|
|
</DocPTViewer>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
import { getPTOptions } from '@/components/doc/helpers';
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
docs: [
|
|
|
|
{
|
|
|
|
data: getPTOptions('ImageCompare'),
|
|
|
|
key: 'ImageCompare'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|