public interface MenuItemHoverListener
Modifier and Type | Method and Description |
---|---|
void |
onItemHoverEnter(MenuBuilder menu,
MenuItem item)
Called when hover enters a menu item.
|
void |
onItemHoverExit(MenuBuilder menu,
MenuItem item)
Called when hover exits a menu item.
|
void onItemHoverExit(MenuBuilder menu, MenuItem item)
If hover is moving to another item, this method will be called before
onItemHoverEnter(MenuBuilder, MenuItem)
for the newly-hovered item.
menu
- the item's parent menuitem
- the hovered menu itemvoid onItemHoverEnter(MenuBuilder menu, MenuItem item)
menu
- the item's parent menuitem
- the hovered menu item