class type configs =Inheritsobject
..end
method allowOtherMenus : bool Js.t Js.prop
True to allow multiple menus to be displayed at the same time.
Defaults to: false
bool Js.t Js.prop
: True to enable keyboard navigation for controlling the menu. This option should generally be disabled when form fields are being used inside the menu.
Defaults to: true
method floating : bool Js.t Js.prop
A Menu configured as floating: true
(the default) will be rendered as an absolutely positioned,
floating Component. If configured as floating: false
, the Menu may be
used as a child item of another Container.
Defaults to: true
bool Js.t Js.prop
: True to initially render the Menu as hidden, requiring to be shown manually.
Defaults to true
when floating: true
, and defaults to false
when floating: false
.
Defaults to: undefined
method hideMode : Js.js_string Js.t Js.prop
A String which specifies how this Component's encapsulating DOM element will be hidden. Values may be:
'display'
: The Component will be hidden using the display: none
style.'visibility'
: The Component will be hidden using the visibility: hidden
style.'offsets'
: The Component will be hidden by absolutely positioning it out of the visible area of the document.
This is useful when a hidden Component must maintain measurable dimensions. Hiding using display
results in a
Component having zero dimensions.
Defaults to: 'visibility'
method ignoreParentClicks : bool Js.t Js.prop
True to ignore clicks on any item in this menu that is a parent item (displays a submenu) so that the submenu is not dismissed when clicking the parent item.
Defaults to: false
method minWidth : Js.number Js.t Js.prop
The minimum width of the Menu. The default minWidth only applies when the floating config is true.
Defaults to: 120
method plain : bool Js.t Js.prop
True to remove the incised line down the left side of the menu and to not indent general Component items.
MenuItems will always have space at their start for an icon. With the plain
setting,
non MenuItem child components will not be indented to line up.
Basically, plain:true
makes a Menu behave more like a regular HBox layout
Panel which just has the same background as a Menu.
See also the showSeparator config.
Defaults to: false
method showSeparator : bool Js.t Js.prop
True to show the icon separator.
Defaults to: true
method afterShow : 'a 'b 'c.
((< activeItem : 'f. 'f Js.t Js.prop;
afterCollapse : ('e Js.t, bool Js.t -> unit) Js.meth_callback
Js.writeonly_prop;
afterComponentLayout : 'g 'h.
('e Js.t,
Js.number Js.t ->
Js.number Js.t -> 'g Js.t -> 'h Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
afterExpand : ('e Js.t, bool Js.t -> unit) Js.meth_callback
Js.writeonly_prop;
afterHide : 'i 'j.
('e Js.t,
'i Js.callback Js.optdef -> 'j Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
afterLayout : 'k.
('e Js.t,
(#Ext_layout_container_Container.t as 'k) Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
afterRender : ('e Js.t, unit -> unit) Js.meth_callback
Js.writeonly_prop;
afterSetPosition : ('e Js.t, Js.number Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
afterShow : 'a 'b 'c. 'd; allowOtherMenus : bool Js.t Js.prop;
anchorSize : 'l. 'l Js.t Js.prop; animCollapse : bool Js.t Js.prop;
autoDestroy : bool Js.t Js.prop; autoEl : 'm. 'm Js.t Js.prop;
autoRender : 'n. 'n Js.t Js.prop; autoScroll : bool Js.t Js.prop;
autoShow : bool Js.t Js.prop; baseCls : Js.js_string Js.t Js.prop;
bbar : 'o. 'o Js.t Js.prop;
beforeComponentLayout : ('e Js.t,
Js.number Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
beforeDestroy : ('e Js.t, unit -> unit) Js.meth_callback
Js.writeonly_prop;
beforeLayout : ('e Js.t, unit -> unit) Js.meth_callback
Js.writeonly_prop;
beforeShow : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
bodyBorder : bool Js.t Js.prop; bodyCls : 'p. 'p Js.t Js.prop;
bodyPadding : 'q. 'q Js.t Js.prop; bodyStyle : 'r. 'r Js.t Js.prop;
border : 's. 's Js.t Js.prop;
bubbleEvents : Js.js_string Js.t Js.js_array Js.t Js.prop;
buttonAlign : Js.js_string Js.t Js.prop; buttons : 't. 't Js.t Js.prop;
childEls : 'u. 'u Js.t Js.js_array Js.t Js.prop;
closable : bool Js.t Js.prop; closeAction : Js.js_string Js.t Js.prop;
cls : Js.js_string Js.t Js.prop;
collapseDirection : Js.js_string Js.t Js.prop;
collapseFirst : bool Js.t Js.prop;
collapseMode : Js.js_string Js.t Js.prop;
collapsed : bool Js.t Js.prop;
collapsedCls : Js.js_string Js.t Js.prop;
collapsible : bool Js.t Js.prop; columnWidth : 'v. 'v Js.t Js.prop;
componentCls : Js.js_string Js.t Js.prop;
componentLayout : 'w. 'w Js.t Js.prop; constrain : bool Js.t Js.prop;
constrainHeader : bool Js.t Js.prop; constrainTo : 'x. 'x Js.t Js.prop;
constraintInsets : 'y. 'y Js.t Js.prop;
contentEl : Js.js_string Js.t Js.prop; data : 'z. 'z Js.t Js.prop;
defaultAlign : Js.js_string Js.t Js.prop;
defaultDockWeights : 'a1. 'a1 Js.t Js.prop;
defaultType : Js.js_string Js.t Js.prop;
defaults : 'b1. 'b1 Js.t Js.prop; detachOnRemove : bool Js.t Js.prop;
disabled : bool Js.t Js.prop; disabledCls : Js.js_string Js.t Js.prop;
dockedItems : 'c1. 'c1 Js.t Js.prop; draggable : bool Js.t Js.prop;
draggable_obj : 'd1. 'd1 Js.t Js.prop;
enableKeyNav : bool Js.t Js.prop; fbar : 'e1. 'e1 Js.t Js.prop;
fixed : bool Js.t Js.prop; floatable : bool Js.t Js.prop;
floating : bool Js.t Js.prop; focusOnToFront : bool Js.t Js.prop;
formBind : bool Js.t Js.prop; frame : bool Js.t Js.prop;
frameHeader : bool Js.t Js.prop; glyph : 'f1. 'f1 Js.t Js.prop;
header : 'g1. 'g1 Js.t Js.prop;
headerOverCls : Js.js_string Js.t Js.prop;
headerPosition : Js.js_string Js.t Js.prop;
height : Js.number Js.t Js.prop; hidden : bool Js.t Js.prop;
hideCollapseTool : bool Js.t Js.prop;
hideMode : Js.js_string Js.t Js.prop; html : 'h1. 'h1 Js.t Js.prop;
icon : Js.js_string Js.t Js.prop; iconCls : Js.js_string Js.t Js.prop;
id : Js.js_string Js.t Js.prop; ignoreParentClicks : bool Js.t Js.prop;
initComponent : ('e Js.t, unit -> unit) Js.meth_callback
Js.writeonly_prop;
itemId : Js.js_string Js.t Js.prop; items : 'i1. 'i1 Js.t Js.prop;
layout : 'j1. 'j1 Js.t Js.prop; lbar : 'k1. 'k1 Js.t Js.prop;
listeners : 'l1. 'l1 Js.t Js.prop; loader : 'm1. 'm1 Js.t Js.prop;
manageHeight : bool Js.t Js.prop; margin : 'n1. 'n1 Js.t Js.prop;
maxHeight : Js.number Js.t Js.prop; maxWidth : Js.number Js.t Js.prop;
minButtonWidth : Js.number Js.t Js.prop;
minHeight : Js.number Js.t Js.prop; minWidth : Js.number Js.t Js.prop;
onAdd : 'o1.
('e Js.t,
(#Ext_Component.t as 'o1) Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onAdded : 'p1.
('e Js.t, 'p1 Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onBeforeAdd : 'q1.
('e Js.t, (#Ext_Component.t as 'q1) Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onDestroy : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
onDisable : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
onDockedAdd : 'r1.
('e Js.t, (#Ext_Component.t as 'r1) Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onDockedRemove : 's1.
('e Js.t, (#Ext_Component.t as 's1) Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onEnable : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
onHide : 't1 'u1 'v1.
('e Js.t,
't1 Js.t Js.optdef ->
'u1 Js.callback Js.optdef -> 'v1 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
onPosition : ('e Js.t, Js.number Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onRemove : 'w1.
('e Js.t,
(#Ext_Component.t as 'w1) Js.t -> bool Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onRemoved : ('e Js.t, bool Js.t -> unit) Js.meth_callback
Js.writeonly_prop;
onRender : ('e Js.t, Ext_dom_Element.t Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onResize : 'x1 'y1 'z1 'a2.
('e Js.t,
'x1 Js.t -> 'y1 Js.t -> 'z1 Js.t -> 'a2 Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onShow : 'b2 'c2 'd2.
('e Js.t,
'b2 Js.t Js.optdef ->
'c2 Js.callback Js.optdef -> 'd2 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
onShowComplete : 'e2 'f2.
('e Js.t,
'e2 Js.callback Js.optdef ->
'f2 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
overCls : Js.js_string Js.t Js.prop;
overflowX : Js.js_string Js.t Js.prop;
overflowY : Js.js_string Js.t Js.prop;
overlapHeader : bool Js.t Js.prop; padding : 'g2. 'g2 Js.t Js.prop;
placeholder : 'h2. 'h2 Js.t Js.prop;
placeholderCollapseHideMode : Js.number Js.t Js.prop;
plain : bool Js.t Js.prop; plugins : 'i2. 'i2 Js.t Js.prop;
rbar : 'j2. 'j2 Js.t Js.prop; region : 'k2. 'k2 Js.t Js.prop;
renderData : 'l2. 'l2 Js.t Js.prop;
renderSelectors : 'm2. 'm2 Js.t Js.prop;
renderTo : 'n2. 'n2 Js.t Js.prop; renderTpl : 'o2. 'o2 Js.t Js.prop;
resizable : 'p2. 'p2 Js.t Js.prop;
resizeHandles : Js.js_string Js.t Js.prop; rtl : bool Js.t Js.prop;
saveDelay : Js.number Js.t Js.prop; shadow : 'q2. 'q2 Js.t Js.prop;
shadowOffset : Js.number Js.t Js.prop;
showSeparator : bool Js.t Js.prop; shrinkWrap : 'r2. 'r2 Js.t Js.prop;
shrinkWrapDock : 's2. 's2 Js.t Js.prop; simpleDrag : bool Js.t Js.prop;
stateEvents : Js.js_string Js.t Js.js_array Js.t Js.prop;
stateId : Js.js_string Js.t Js.prop; stateful : bool Js.t Js.prop;
style : 't2. 't2 Js.t Js.prop; suspendLayout : bool Js.t Js.prop;
tbar : 'u2. 'u2 Js.t Js.prop; title : Js.js_string Js.t Js.prop;
titleAlign : Js.js_string Js.t Js.prop;
titleCollapse : bool Js.t Js.prop; toFrontOnShow : bool Js.t Js.prop;
tools : 'v2. 'v2 Js.t Js.prop; tpl : 'w2. 'w2 Js.t Js.prop;
tplWriteMode : Js.js_string Js.t Js.prop;
ui : Js.js_string Js.t Js.prop; width : Js.number Js.t Js.prop;
xtype : Js.js_string Js.t Js.prop; .. >
as 'e)
Js.t,
'a Js.t Js.optdef -> 'b Js.callback Js.optdef -> 'c Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop as 'd
t.afterShow
method beforeShow : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop
t.beforeShow
method onDestroy : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop
t.onDestroy