onItemMouseIn( )


Adds an event handler that runs when a user hovers over a menu item.

Method Declaration
Copy
Method Parameters
handlerfunctionRequired

handler(event: MenuItemMouseEvent): void The name of the function or the function expression to run when the menu item is hovered over.

Returns
Return Type:MenuItem
Was this helpful?
Yes
No