Properties Methods Events Config Options Direct Link
Observable
  Component
    BaseItem
      Separator

Class Ext.menu.Separator

Package:Ext.menu
Defined In:Separator.js
Class:Separator
Extends:BaseItem
Adds a separator bar to a menu, used to divide logical groups of menu items. Generally you will add one of these by using "-" in you call to add() or in your items config rather than creating one directly.

Config Options

Config OptionsDefined By
 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 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 false)
Separator
 itemCls : String
The default CSS class to use for separators (defaults to "x-menu-sep")
Separator
 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