Properties Methods Events Config Options Direct Link
Observable
  Component
    BaseItem

Class Ext.menu.BaseItem

Package:Ext.menu
Defined In:BaseItem.js
Class:BaseItem
Subclasses:Item, Separator, TextItem
Extends:Component
xtype:menubaseitem
The base class for all items that render into menus. BaseItem provides default rendering, activated state management and base configuration options shared by all menu components.

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 false)
BaseItem
 clickHideDelay : Number
Length of time in milliseconds to wait before hiding after a click (defaults to 100)
BaseItem
 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
 scope : Object
The scope (this reference) in which the handler function will be called.
BaseItem

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
 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