mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Rename submenuitem to submenulabel
This commit is contained in:
parent
a2db31aceb
commit
7120cacb9b
4 changed files with 11 additions and 11 deletions
|
@ -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 }">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue