mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #3599 - Menu: start and end templating
This commit is contained in:
parent
f1b1cdf189
commit
cf635e5caa
4 changed files with 45 additions and 1 deletions
8
components/menu/Menu.d.ts
vendored
8
components/menu/Menu.d.ts
vendored
|
@ -49,6 +49,14 @@ export interface MenuProps {
|
|||
}
|
||||
|
||||
export interface MenuSlots {
|
||||
/**
|
||||
* Custom start template.
|
||||
*/
|
||||
start: () => VNode[];
|
||||
/**
|
||||
* Custom end template.
|
||||
*/
|
||||
end: () => VNode[];
|
||||
/**
|
||||
* Custom item template.
|
||||
* @param {Object} scope - item slot's params.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue