Refactor
parent
3aabaac995
commit
d2963c47f4
|
@ -1,91 +1,91 @@
|
|||
{
|
||||
"data":[
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria1.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria1.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria1s.jpg",
|
||||
"alt": "Description for Image 1",
|
||||
"title": "Title 1"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria2.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria2.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria2s.jpg",
|
||||
"alt": "Description for Image 2",
|
||||
"title": "Title 2"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria3.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria3.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria3s.jpg",
|
||||
"alt": "Description for Image 3",
|
||||
"title": "Title 3"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria4.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria4.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria4s.jpg",
|
||||
"alt": "Description for Image 4",
|
||||
"title": "Title 4"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria5.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria5.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria5s.jpg",
|
||||
"alt": "Description for Image 5",
|
||||
"title": "Title 5"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria6.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria6.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria6s.jpg",
|
||||
"alt": "Description for Image 6",
|
||||
"title": "Title 6"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria7.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria7.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria7s.jpg",
|
||||
"alt": "Description for Image 7",
|
||||
"title": "Title 7"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria8.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria8.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria8s.jpg",
|
||||
"alt": "Description for Image 8",
|
||||
"title": "Title 8"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria9.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria9.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria9s.jpg",
|
||||
"alt": "Description for Image 9",
|
||||
"title": "Title 9"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria10.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria10.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria10s.jpg",
|
||||
"alt": "Description for Image 10",
|
||||
"title": "Title 10"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria11.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria11.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria11s.jpg",
|
||||
"alt": "Description for Image 11",
|
||||
"title": "Title 11"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria12.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria12.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria12s.jpg",
|
||||
"alt": "Description for Image 12",
|
||||
"title": "Title 12"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria13.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria13.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria13s.jpg",
|
||||
"alt": "Description for Image 13",
|
||||
"title": "Title 13"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria14.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria14.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria14s.jpg",
|
||||
"alt": "Description for Image 14",
|
||||
"title": "Title 14"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria15.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria15.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria15s.jpg",
|
||||
"alt": "Description for Image 15",
|
||||
"title": "Title 15"
|
||||
|
|
|
@ -29,7 +29,7 @@ export declare class Galleria extends Vue {
|
|||
header: VNode[];
|
||||
footer: VNode[];
|
||||
item: VNode[];
|
||||
previewCaption: VNode[];
|
||||
caption: VNode[];
|
||||
indicator: VNode[];
|
||||
thumbnail: VNode[];
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
:showThumbnails="showThumbnails" :showItemNavigators="true" :showItemNavigatorsOnHover="true"
|
||||
:circular="true" :autoPlay="true" :transitionInterval="3000">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" :style="[{'width': !fullScreen ? '100%' : '', 'display': !fullScreen ? 'block' : ''}]" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" :style="[{'width': !fullScreen ? '100%' : '', 'display': !fullScreen ? 'block' : ''}]" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="p-grid p-nogutter p-justify-center">
|
||||
|
@ -42,7 +42,7 @@
|
|||
:showThumbnails="showThumbnails" :showItemNavigators="true" :showItemNavigatorsOnHover="true"
|
||||
:circular="true" :autoPlay="true" :transitionInterval="3000">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" :style="[{'width': !fullScreen ? '100%' : '', 'display': !fullScreen ? 'block' : ''}]" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" :style="[{'width': !fullScreen ? '100%' : '', 'display': !fullScreen ? 'block' : ''}]" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="p-grid p-nogutter p-justify-center">
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:circular="true" :autoPlay="true" :transitionInterval="2000">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -27,7 +27,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:circular="true" :autoPlay="true" :transitionInterval="2000">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<div class="content-section implementation">
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px">
|
||||
<template #item="{item}">
|
||||
<img :src="item.previewImageSrc" :alt="item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="item.itemImageSrc" :alt="item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="{item}">
|
||||
<div class="p-grid p-nogutter p-justify-center">
|
||||
|
@ -31,7 +31,7 @@
|
|||
<template v-pre>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px">
|
||||
<template #item="{item}">
|
||||
<img :src="item.previewImageSrc" :alt="item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="item.itemImageSrc" :alt="item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="{item}">
|
||||
<div class="p-grid p-nogutter p-justify-center">
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<div class="content-section implementation">
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" />
|
||||
|
|
|
@ -12,7 +12,7 @@ import Galleria from 'primevue/galleria';
|
|||
<CodeHighlight>
|
||||
<Galleria :value="images">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" />
|
||||
</template>
|
||||
</Galleria>
|
||||
</CodeHighlight>
|
||||
|
@ -23,91 +23,91 @@ import Galleria from 'primevue/galleria';
|
|||
{
|
||||
"data":[
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria1.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria1.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria1s.jpg",
|
||||
"alt": "Description for Image 1",
|
||||
"title": "Title 1"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria2.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria2.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria2s.jpg",
|
||||
"alt": "Description for Image 2",
|
||||
"title": "Title 2"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria3.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria3.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria3s.jpg",
|
||||
"alt": "Description for Image 3",
|
||||
"title": "Title 3"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria4.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria4.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria4s.jpg",
|
||||
"alt": "Description for Image 4",
|
||||
"title": "Title 4"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria5.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria5.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria5s.jpg",
|
||||
"alt": "Description for Image 5",
|
||||
"title": "Title 5"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria6.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria6.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria6s.jpg",
|
||||
"alt": "Description for Image 6",
|
||||
"title": "Title 6"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria7.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria7.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria7s.jpg",
|
||||
"alt": "Description for Image 7",
|
||||
"title": "Title 7"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria8.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria8.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria8s.jpg",
|
||||
"alt": "Description for Image 8",
|
||||
"title": "Title 8"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria9.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria9.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria9s.jpg",
|
||||
"alt": "Description for Image 9",
|
||||
"title": "Title 9"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria10.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria10.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria10s.jpg",
|
||||
"alt": "Description for Image 10",
|
||||
"title": "Title 10"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria11.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria11.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria11s.jpg",
|
||||
"alt": "Description for Image 11",
|
||||
"title": "Title 11"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria12.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria12.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria12s.jpg",
|
||||
"alt": "Description for Image 12",
|
||||
"title": "Title 12"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria13.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria13.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria13s.jpg",
|
||||
"alt": "Description for Image 13",
|
||||
"title": "Title 13"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria14.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria14.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria14s.jpg",
|
||||
"alt": "Description for Image 14",
|
||||
"title": "Title 14"
|
||||
},
|
||||
{
|
||||
"previewImageSrc": "demo/images/galleria/galleria15.jpg",
|
||||
"itemImageSrc": "demo/images/galleria/galleria15.jpg",
|
||||
"thumbnailImageSrc": "demo/images/galleria/galleria15s.jpg",
|
||||
"alt": "Description for Image 15",
|
||||
"title": "Title 15"
|
||||
|
@ -151,7 +151,7 @@ export default {
|
|||
<CodeHighlight>
|
||||
<Galleria :value="images" :numVisible="5">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" />
|
||||
|
@ -166,7 +166,7 @@ export default {
|
|||
<CodeHighlight>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" />
|
||||
|
@ -199,7 +199,7 @@ responsiveOptions: [
|
|||
<h1>Header</h1>
|
||||
</template>
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
</template>
|
||||
<template #footer>
|
||||
<h1>Footer</h1>
|
||||
|
@ -213,7 +213,7 @@ responsiveOptions: [
|
|||
<CodeHighlight>
|
||||
<Galleria :value="images" :showIndicators="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" />
|
||||
</template>
|
||||
</Galleria>
|
||||
</CodeHighlight>
|
||||
|
@ -403,12 +403,12 @@ responsiveOptions: [
|
|||
<td>Footer section.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>p-galleria-preview-content</td>
|
||||
<td>Preview content element. It contains preview and indicator containers.</td>
|
||||
<td>p-galleria-item-wrapper</td>
|
||||
<td>Item wrapper element. It contains item container and indicators.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>p-galleria-preview-container</td>
|
||||
<td>Container of the preview content. It contains navigation buttons, preview item and caption content.</td>
|
||||
<td>p-galleria-item-container</td>
|
||||
<td>Container of the item wrapper. It contains navigation buttons, items and caption content.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>p-galleria-indicators</td>
|
||||
|
@ -423,8 +423,8 @@ responsiveOptions: [
|
|||
<td>Container of the thumbnail content. It contains navigation buttons and thumbnail items.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>p-galleria-preview-caption</td>
|
||||
<td>Content of the preview caption.</td>
|
||||
<td>p-galleria-caption</td>
|
||||
<td>Content of the item caption.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -442,7 +442,7 @@ responsiveOptions: [
|
|||
<template v-pre>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" />
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions2" :numVisible="9" containerStyle="max-width: 50%"
|
||||
:circular="true" :fullScreen="true" :showItemNavigators="true" :visible.sync="displayBasic">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -25,7 +25,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="7" containerStyle="max-width: 850px"
|
||||
:circular="true" :fullScreen="true" :showItemNavigators="true" :showThumbnails="false" :visible.sync="displayBasic2">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -38,7 +38,7 @@
|
|||
<Galleria :value="images" :activeIndex.sync="activeIndex" :responsiveOptions="responsiveOptions" :numVisible="7" containerStyle="max-width: 850px"
|
||||
:circular="true" :fullScreen="true" :showItemNavigators="true" :showThumbnails="false" :visible.sync="displayCustom">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -61,7 +61,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions2" :numVisible="9" containerStyle="max-width: 50%"
|
||||
:circular="true" :fullScreen="true" :showItemNavigators="true" :visible.sync="displayBasic">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -74,7 +74,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="7" containerStyle="max-width: 850px"
|
||||
:circular="true" :fullScreen="true" :showItemNavigators="true" :showThumbnails="false" :visible.sync="displayBasic2">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -87,7 +87,7 @@
|
|||
<Galleria :value="images" :activeIndex.sync="activeIndex" :responsiveOptions="responsiveOptions" :numVisible="7" containerStyle="max-width: 850px"
|
||||
:circular="true" :fullScreen="true" :showItemNavigators="true" :showThumbnails="false" :visible.sync="displayCustom">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -36,7 +36,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true" indicatorsPosition="top">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true" indicatorsPosition="left">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true" indicatorsPosition="right">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -60,7 +60,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px;" class="custom-indicator-galleria"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true" indicatorsPosition="left">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #indicator="{index}">
|
||||
<span class="indicator-text">
|
||||
|
@ -79,7 +79,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -87,7 +87,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -95,7 +95,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -103,7 +103,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true" indicatorsPosition="top">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -111,7 +111,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true" indicatorsPosition="left">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -119,7 +119,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true" indicatorsPosition="right">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
</Galleria>
|
||||
|
||||
|
@ -127,7 +127,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px;" class="custom-indicator-galleria"
|
||||
:showThumbnails="false" :showIndicators="true" :changeItemOnIndicatorHover="true" :showIndicatorsOnItem="true" indicatorsPosition="left">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #indicator="{index}">
|
||||
<span style="color: #e9ecef; cursor: pointer">
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" style="max-width: 640px"
|
||||
:showItemNavigators="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -23,7 +23,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" style="max-width: 640px"
|
||||
:showItemNavigators="true" :showThumbnails="false">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -34,7 +34,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" style="max-width: 640px;"
|
||||
:showItemNavigators="true" :showItemNavigatorsOnHover="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -45,7 +45,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" style="max-width: 640px;"
|
||||
:showItemNavigators="true" :showThumbnails="false" :showItemNavigatorsOnHover="true" :showIndicators="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -62,7 +62,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" style="max-width: 640px"
|
||||
:showItemNavigators="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -73,7 +73,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" style="max-width: 640px"
|
||||
:showItemNavigators="true" :showThumbnails="false">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -84,7 +84,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" style="max-width: 640px;"
|
||||
:showItemNavigators="true" :showItemNavigatorsOnHover="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -95,7 +95,7 @@
|
|||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" :circular="true" style="max-width: 640px;"
|
||||
:showItemNavigators="true" :showThumbnails="false" :showItemNavigatorsOnHover="true" :showIndicators="true">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<Galleria :value="images" :activeIndex.sync="activeIndex" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" />
|
||||
|
@ -35,7 +35,7 @@
|
|||
|
||||
<Galleria :value="images" :activeIndex.sync="activeIndex" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" />
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<div class="content-section implementation">
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="7" :circular="true" style="max-width: 800px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
@ -25,7 +25,7 @@
|
|||
<template v-pre>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="7" :circular="true" style="max-width: 800px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" style="display: block;" />
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<h3>Positioned at Bottom</h3>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" tyle="width: 100%; display: block;" />
|
||||
|
@ -21,7 +21,7 @@
|
|||
<h3>Positioned at Left</h3>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions2" :numVisible="4" thumbnailsPosition="left" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="p-grid p-nogutter p-justify-center">
|
||||
|
@ -33,7 +33,7 @@
|
|||
<h3>Positioned at Right</h3>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions2" :numVisible="4" thumbnailsPosition="right" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="p-grid p-nogutter p-justify-center">
|
||||
|
@ -45,7 +45,7 @@
|
|||
<h3>Positioned at Top</h3>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" thumbnailsPosition="top" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" tyle="width: 100%; display: block;" />
|
||||
|
@ -61,7 +61,7 @@
|
|||
<h3>Positioned at Bottom</h3>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" tyle="width: 100%; display: block;" />
|
||||
|
@ -71,7 +71,7 @@
|
|||
<h3>Positioned at Left</h3>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions2" :numVisible="4" thumbnailsPosition="left" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="p-grid p-nogutter p-justify-center">
|
||||
|
@ -83,7 +83,7 @@
|
|||
<h3>Positioned at Right</h3>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions2" :numVisible="4" thumbnailsPosition="right" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<div class="p-grid p-nogutter p-justify-center">
|
||||
|
@ -95,7 +95,7 @@
|
|||
<h3>Positioned at Top</h3>
|
||||
<Galleria :value="images" :responsiveOptions="responsiveOptions" :numVisible="5" thumbnailsPosition="top" style="max-width: 640px">
|
||||
<template #item="slotProps">
|
||||
<img :src="slotProps.item.previewImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
<img :src="slotProps.item.itemImageSrc" :alt="slotProps.item.alt" style="width: 100%; display: block;" />
|
||||
</template>
|
||||
<template #thumbnail="slotProps">
|
||||
<img :src="slotProps.item.thumbnailImageSrc" :alt="slotProps.item.alt" tyle="width: 100%; display: block;" />
|
||||
|
|
Loading…
Reference in New Issue