Properties Methods Events Config Options Direct Link
Observable
  Component
    BaseItem
      Item

Class Ext.menu.Item

Package:Ext.menu
Defined In:Item.js
Class:Item
Subclasses:CheckItem
Extends:BaseItem
A base class for all menu items that require menu-related functionality (like sub-menus) and are not static display items. Item extends the base functionality of Ext.menu.BaseItem by adding menu-specific activation and click handling.

Config Options

Config OptionsDefined By
 activeClass : String
The CSS class to use when the item becomes activated (defaults to "x-menu-item-active")
BaseItem
 allowDomMove : Boolean
Whether the component can move the Dom node when rendering (defaults to true).
Component
 canActivate : Boolean
True if this item can be visually activated (defaults to true)
Item
 clickHideDelay : Number
Length of time in milliseconds to wait before hiding after a click (defaults to 1)
BaseItem
 data : Mixed
The initial set of data to apply to the tpl to update the content area of the Component.
Component
 disabled : Boolean
Render this component disabled (default is false).
Component
 disabledClass : String
CSS class added to the component when it is disabled (defaults to 'x-item-disabled').
Component
 hidden : Boolean
Render this component hidden (default is false). If true, the hide method will be called internally.
Component
 hideOnClick : Boolean
True to hide the containing menu after this item is clicked (defaults to true)
BaseItem
 href : String
The href attribute to use for the underlying anchor link (defaults to '#').
Item
 hrefTarget : String
The target attribute to use for the underlying anchor link (defaults to '').
Item
 itemCls : String
The default CSS class to use for menu items (defaults to 'x-menu-item')
Item
 scope : Object
The scope (this reference) in which the handler function will be called.
BaseItem
 showDelay : Number
Length of time in milliseconds to wait before showing this item (defaults to 200)
Item
 text : String
The text to display in this item (defaults to '').
Item

Public Properties

PropertyDefined By
 disabled : Boolean
True if this component is disabled. Read-only.
Component
 hidden : Boolean
True if this component is hidden. Read-only.
Component
 initialConfig : Object
This Component's initial configuration specification. Read-only.
Component
 menu : Ext.menu.Menu The submenu associated with this Item if one was configured.
Item
 parentMenu : Ext.menu.Menu The parent Menu of this Item.
BaseItem
 rendered : Boolean
True if this component has been rendered. Read-only.
Component

Public Methods

MethodDefined By

Public Events

EventDefined By