Update BasicDoc.vue
parent
89b4e1a76a
commit
262fcf0d75
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue