onMenuModeChange
Called when the mode of the menu changes (for example, from icon to expanded).
Parameters
menu
the menu that has changed modes
Called when the mode of the menu changes (for example, from icon to expanded).
the menu that has changed modes