mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4190 - For Menubar
This commit is contained in:
parent
fd326c4d8d
commit
06acfdf264
2 changed files with 20 additions and 10 deletions
8
components/lib/menubar/Menubar.d.ts
vendored
8
components/lib/menubar/Menubar.d.ts
vendored
|
@ -151,6 +151,14 @@ export interface MenubarState {
|
|||
* Defines current options in Menubar component.
|
||||
*/
|
||||
export interface MenubarContext {
|
||||
/**
|
||||
* 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