Refactor #4211 - For Menubar
parent
2e42f65061
commit
445776316e
|
@ -169,6 +169,10 @@ export interface MenubarContext {
|
|||
* @defaultValue false
|
||||
*/
|
||||
focused: boolean;
|
||||
/**
|
||||
* Current level of the menuitem.
|
||||
*/
|
||||
level: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -144,7 +144,8 @@ export default {
|
|||
item: processedItem,
|
||||
index,
|
||||
active: this.isItemActive(processedItem),
|
||||
focused: this.isItemFocused(processedItem)
|
||||
focused: this.isItemFocused(processedItem),
|
||||
level: this.level
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue