mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4190 - For Menu
This commit is contained in:
parent
b89643cef1
commit
fd326c4d8d
3 changed files with 13 additions and 2 deletions
8
components/lib/menu/Menu.d.ts
vendored
8
components/lib/menu/Menu.d.ts
vendored
|
@ -119,6 +119,14 @@ export interface MenuState {
|
|||
* Defines current options in Menu component.
|
||||
*/
|
||||
export interface MenuContext {
|
||||
/**
|
||||
* Current menuitem
|
||||
*/
|
||||
item: any;
|
||||
/**
|
||||
* Current index of the menuitem.
|
||||
*/
|
||||
index: number;
|
||||
/**
|
||||
* Current focused state of menuitem as a boolean.
|
||||
* @defaultValue false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue