Update BasicDoc.vue

pull/5701/head
tugcekucukoglu 2024-05-06 13:32:40 +03:00
parent 89b4e1a76a
commit 262fcf0d75
1 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
</div>
<div class="dock-window" style="backgroundimage: 'url(https://primefaces.org/cdn/primevue/images/dock/window.jpg)'">
<Dock :model="items" :position="position">
<template #icon="{ item }">
<template #itemicon="{ item }">
<img :alt="item.label" :src="item.icon" style="width: 100%" />
</template>
</Dock>
@ -64,7 +64,7 @@ export default {
code: {
basic: `
<Dock :model="items" :position="position">
<template #icon="{ item }">
<template #itemicon="{ item }">
<img :alt="item.label" :src="item.icon" style="width: 100%" />
</template>
</Dock>
@ -80,7 +80,7 @@ export default {
</div>
<div class="dock-window">
<Dock :model="items" :position="position">
<template #icon="{ item }">
<template #itemicon="{ item }">
<img :alt="item.label" :src="item.icon" style="width: 100%" />
</template>
</Dock>
@ -161,7 +161,7 @@ export default {
</div>
<div class="dock-window" style="backgroundimage: 'url(https://primefaces.org/cdn/primevue/images/dock/window.jpg))'">
<Dock :model="items" :position="position">
<template #icon="{ item }">
<template #itemicon="{ item }">
<img :alt="item.label" :src="item.icon" style="width: 100%" />
</template>
</Dock>