mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +00:00
Refactor #4190 - For MegaMenu
This commit is contained in:
parent
6d2f17501e
commit
b89643cef1
2 changed files with 21 additions and 11 deletions
8
components/lib/megamenu/MegaMenu.d.ts
vendored
8
components/lib/megamenu/MegaMenu.d.ts
vendored
|
@ -154,6 +154,14 @@ export interface MegaMenuState {
|
|||
* Defines current options in MegaMenu component.
|
||||
*/
|
||||
export interface MegaMenuContext {
|
||||
/**
|
||||
* Current menuitem
|
||||
*/
|
||||
item: any;
|
||||
/**
|
||||
* Current index of the menuitem.
|
||||
*/
|
||||
index: number;
|
||||
/**
|
||||
* Current active state of menuitem as a boolean.
|
||||
* @defaultValue false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue