Rename submenuitem to submenulabel

This commit is contained in:
Cagatay Civici 2024-05-26 02:52:18 +03:00
parent a2db31aceb
commit 7120cacb9b
4 changed files with 11 additions and 11 deletions

View file

@ -1,7 +1,7 @@
<template>
<DocSectionText v-bind="$attrs">
<p>
Menu offers item customization with the <i>item</i> template that receives the menuitem instance from the model as a parameter. The submenu header has its own <i>submenuitem</i> template, additional slots named <i>start</i> and
Menu offers item customization with the <i>item</i> template that receives the menuitem instance from the model as a parameter. The submenu label has its own <i>submenulabel</i> template, additional slots named <i>start</i> and
<i>end</i> are provided to embed content before or after the menu.
</p>
</DocSectionText>
@ -22,7 +22,7 @@
<span class="text-xl font-semibold">PRIME<span class="text-primary">APP</span></span>
</span>
</template>
<template #submenuitem="{ item }">
<template #submenulabel="{ item }">
<span class="text-primary font-bold">{{ item.label }}</span>
</template>
<template #item="{ item, props }">
@ -106,7 +106,7 @@ export default {
<span class="text-xl font-semibold">PRIME<span class="text-primary">APP</span></span>
</span>
</template>
<template #submenuitem="{ item }">
<template #submenulabel="{ item }">
<span class="text-primary font-bold">{{ item.label }}</span>
</template>
<template #item="{ item, props }">
@ -147,7 +147,7 @@ export default {
<span class="text-xl font-semibold">PRIME<span class="text-primary">APP</span></span>
</span>
</template>
<template #submenuitem="{ item }">
<template #submenulabel="{ item }">
<span class="text-primary font-bold">{{ item.label }}</span>
</template>
<template #item="{ item, props }">
@ -242,7 +242,7 @@ export default {
<span class="text-xl font-semibold">PRIME<span class="text-primary">APP</span></span>
</span>
</template>
<template #submenuitem="{ item }">
<template #submenulabel="{ item }">
<span class="text-primary font-bold">{{ item.label }}</span>
</template>
<template #item="{ item, props }">