mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4352 - Menu: new submenuheader slot
This commit is contained in:
parent
693ce32c6a
commit
bd1f590365
2 changed files with 15 additions and 1 deletions
10
components/lib/menu/Menu.d.ts
vendored
10
components/lib/menu/Menu.d.ts
vendored
|
@ -233,6 +233,16 @@ export interface MenuSlots {
|
|||
*/
|
||||
class: any;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom item template.
|
||||
* @param {Object} scope - submenuheader slot's params.
|
||||
*/
|
||||
submenuheader(scope: {
|
||||
/**
|
||||
* Menuitem instance
|
||||
*/
|
||||
submenuheader: MenuItem;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue