Sencha Documentation
HOME
/
Ext JS
/
4.0
/
API
/
Ext.menu.MenuMgr
EDIT
Ext.menu.MenuMgr
Overview
Methods
Provides a common registry of all menus on a page so that they can be easily accessed by id.
Methods
get
(
String/Object menu
) : Ext.menu.Menu
Returns a Ext.menu.Menu object
Returns a
Ext.menu.Menu
object
Parameters
menu
: String/Object
The string menu id, an existing menu object reference, or a Menu config that will be used to generate and return a new Menu this.
Returns
Ext.menu.Menu
The specified menu, or null if none are found
hideAll
: Boolean
Hides all menus that are currently visible
Hides all menus that are currently visible