mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Image demo updates
This commit is contained in:
parent
cbdf8e934a
commit
d0dd241b02
2 changed files with 29 additions and 9 deletions
|
@ -3,11 +3,7 @@
|
|||
<p>Enabling <i>preview</i> mode displays a modal layer when the image is clicked to provide transformation options such as rotating and zooming.</p>
|
||||
</DocSectionText>
|
||||
<div class="card flex justify-content-center">
|
||||
<Image src="https://primefaces.org/cdn/primevue/images/galleria/galleria10.jpg" alt="Image" width="250" preview>
|
||||
<template #imagePreview="slotProps">
|
||||
<img src="https://primefaces.org/cdn/primevue/images/galleria/galleria10.jpg" alt="Image" :style="slotProps.imagePreviewStyle" @click="slotProps.previewImageClick" />
|
||||
</template>
|
||||
</Image>
|
||||
<Image src="https://primefaces.org/cdn/primevue/images/galleria/galleria10.jpg" alt="Image" width="250" preview />
|
||||
</div>
|
||||
|
||||
<DocSectionCode :code="code" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue