Update BasicDoc.vue
parent
89b4e1a76a
commit
262fcf0d75
|
@ -11,7 +11,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="dock-window" style="backgroundimage: 'url(https://primefaces.org/cdn/primevue/images/dock/window.jpg)'">
|
<div class="dock-window" style="backgroundimage: 'url(https://primefaces.org/cdn/primevue/images/dock/window.jpg)'">
|
||||||
<Dock :model="items" :position="position">
|
<Dock :model="items" :position="position">
|
||||||
<template #icon="{ item }">
|
<template #itemicon="{ item }">
|
||||||
<img :alt="item.label" :src="item.icon" style="width: 100%" />
|
<img :alt="item.label" :src="item.icon" style="width: 100%" />
|
||||||
</template>
|
</template>
|
||||||
</Dock>
|
</Dock>
|
||||||
|
@ -64,7 +64,7 @@ export default {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Dock :model="items" :position="position">
|
<Dock :model="items" :position="position">
|
||||||
<template #icon="{ item }">
|
<template #itemicon="{ item }">
|
||||||
<img :alt="item.label" :src="item.icon" style="width: 100%" />
|
<img :alt="item.label" :src="item.icon" style="width: 100%" />
|
||||||
</template>
|
</template>
|
||||||
</Dock>
|
</Dock>
|
||||||
|
@ -80,7 +80,7 @@ export default {
|
||||||
</div>
|
</div>
|
||||||
<div class="dock-window">
|
<div class="dock-window">
|
||||||
<Dock :model="items" :position="position">
|
<Dock :model="items" :position="position">
|
||||||
<template #icon="{ item }">
|
<template #itemicon="{ item }">
|
||||||
<img :alt="item.label" :src="item.icon" style="width: 100%" />
|
<img :alt="item.label" :src="item.icon" style="width: 100%" />
|
||||||
</template>
|
</template>
|
||||||
</Dock>
|
</Dock>
|
||||||
|
@ -161,7 +161,7 @@ export default {
|
||||||
</div>
|
</div>
|
||||||
<div class="dock-window" style="backgroundimage: 'url(https://primefaces.org/cdn/primevue/images/dock/window.jpg))'">
|
<div class="dock-window" style="backgroundimage: 'url(https://primefaces.org/cdn/primevue/images/dock/window.jpg))'">
|
||||||
<Dock :model="items" :position="position">
|
<Dock :model="items" :position="position">
|
||||||
<template #icon="{ item }">
|
<template #itemicon="{ item }">
|
||||||
<img :alt="item.label" :src="item.icon" style="width: 100%" />
|
<img :alt="item.label" :src="item.icon" style="width: 100%" />
|
||||||
</template>
|
</template>
|
||||||
</Dock>
|
</Dock>
|
||||||
|
|
Loading…
Reference in New Issue