Adds an event handler that runs when a user hovers over a menu item.
handler(event: MenuItemMouseEvent): void
The name of the function or
the function expression to run when the menu item is hovered over.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.