Class type Ext_window_MessageBox.configs


class type configs = object .. end
Inherits
method closeAction : Js.js_string Js.t Js.prop

The action to take when the close header tool is clicked:

Note: This behavior has changed! setting does affect the close method which will invoke the approriate closeAction.

Defaults to: 'hide'

method cls : Js.js_string Js.t Js.prop

An optional extra CSS class that will be added to this component's Element. This can be useful for adding customized styles to the component or any of its children using standard CSS rules.

Defaults to: Ext.baseCSSPrefix + 'message-box', Ext.baseCSSPrefix + 'hide-offsets'

method constrain : bool Js.t Js.prop

True to constrain the window within its containing element, false to allow it to fall outside of its containing element. By default the window will be rendered to document.body. To render and constrain the window within another element specify renderTo. Optionally the header only can be constrained using constrainHeader.

Defaults to: true

method hideMode : Js.js_string Js.t Js.prop

hide it by offsets. Windows are hidden on render by default.

A String which specifies how this Component's encapsulating DOM element will be hidden. Values may be:

Defaults to: 'offsets'

method layout : 'a. 'a Js.t Js.prop

Important: In order for child items to be correctly sized and positioned, typically a layout manager must be specified through the layout configuration option.

The sizing and positioning of child items is the responsibility of the Container's layout manager which creates and manages the type of layout you have in mind. For example:

If the layout configuration is not explicitly specified for a general purpose container (e.g. Container or Panel) the default layout manager will be used which does nothing but render child components sequentially into the Container (no sizing or positioning will be performed in this situation).

layout may be specified as either as an Object or as a String:

Specify as an Object

Example usage:

layout: {
    type: 'vbox',
    align: 'left'
}

Specify as a String

Example usage:

layout: 'vbox'

Configuring the default layout type

If a certain Container class has a default layout (For example a Toolbar with a default Box layout), then to simply configure the default layout, use an object, but without the type property:

xtype: 'toolbar',
layout: {
    pack: 'center'
}

Defaults to: {type: 'vbox', align: 'stretch'}

method maxHeight : Js.number Js.t Js.prop

The maximum value in pixels which this Component will set its height to.

Warning: This will override any size management applied by layout managers.


method maxWidth : Js.number Js.t Js.prop

The maximum value in pixels which this Component will set its width to.

Warning: This will override any size management applied by layout managers.


method minHeight : Js.number Js.t Js.prop

The minimum value in pixels which this Component will set its height to.

Warning: This will override any size management applied by layout managers.


method minWidth : Js.number Js.t Js.prop

Forcibly set these to null on the prototype to override anything set higher in the hierarchy

The minimum value in pixels which this Component will set its width to.

Warning: This will override any size management applied by layout managers.


method resizable : 'b. 'b Js.t Js.prop

Specify as true to allow user resizing at each edge and corner of the window, false to disable resizing.

This may also be specified as a config object to Ext.resizer.Resizer

Defaults to: false

method shrinkWrapDock : 'c. 'c Js.t Js.prop

We want to shrinkWrap around all docked items

Allows for this panel to include the dockedItems when trying to determine the overall size of the panel. This option is only applicable when this panel is also shrink wrapping in the same dimensions. See Ext.AbstractComponent.shrinkWrap for an explanation of the configuration options.

Defaults to: true

method title : Js.js_string Js.t Js.prop

The title text to be used to display in the panel header. When a title is specified the Ext.panel.Header will automatically be created and displayed unless header is set to false.

Defaults to: ' '

method initComponent : ((< 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 : 'l 'm 'n.
('e Js.t,
'l Js.t Js.optdef ->
'm Js.callback Js.optdef -> 'n Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
anchorSize : 'o. 'o Js.t Js.prop; animCollapse : bool Js.t Js.prop;
animateTarget : 'p. 'p Js.t Js.prop; autoDestroy : bool Js.t Js.prop;
autoEl : 'q. 'q Js.t Js.prop; autoRender : 'r. 'r 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 : 's. 's 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 : 't. 't Js.t Js.prop;
bodyPadding : 'u. 'u Js.t Js.prop; bodyStyle : 'v. 'v Js.t Js.prop;
border : 'w. 'w 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 : 'x. 'x Js.t Js.prop;
childEls : 'y. 'y 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 : 'z. 'z Js.t Js.prop;
componentCls : Js.js_string Js.t Js.prop;
componentLayout : 'a1. 'a1 Js.t Js.prop; constrain : bool Js.t Js.prop;
constrainHeader : bool Js.t Js.prop; constrainTo : 'b1. 'b1 Js.t Js.prop;
constraintInsets : 'c1. 'c1 Js.t Js.prop;
contentEl : Js.js_string Js.t Js.prop; data : 'd1. 'd1 Js.t Js.prop;
defaultAlign : Js.js_string Js.t Js.prop;
defaultDockWeights : 'e1. 'e1 Js.t Js.prop;
defaultFocus : 'f1. 'f1 Js.t Js.prop;
defaultType : Js.js_string Js.t Js.prop;
defaults : 'g1. 'g1 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 : 'h1. 'h1 Js.t Js.prop; draggable : bool Js.t Js.prop;
draggable_obj : 'i1. 'i1 Js.t Js.prop; expandOnShow : bool Js.t Js.prop;
fbar : 'j1. 'j1 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;
ghost : 'k1. 'k1 Js.t Js.prop; glyph : 'l1. 'l1 Js.t Js.prop;
header : 'm1. 'm1 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;
hideShadowOnDeactivate : bool Js.t Js.prop; html : 'n1. 'n1 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; initComponent : 'd;
itemId : Js.js_string Js.t Js.prop; items : 'o1. 'o1 Js.t Js.prop;
layout : 'a. 'a Js.t Js.prop; lbar : 'p1. 'p1 Js.t Js.prop;
listeners : 'q1. 'q1 Js.t Js.prop; loader : 'r1. 'r1 Js.t Js.prop;
manageHeight : bool Js.t Js.prop; margin : 's1. 's1 Js.t Js.prop;
maxHeight : Js.number Js.t Js.prop; maxWidth : Js.number Js.t Js.prop;
maximizable : bool Js.t Js.prop; maximized : bool 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;
minimizable : bool Js.t Js.prop; modal : bool Js.t Js.prop;
onAdd : 't1.
('e Js.t,
(#Ext_Component.t as 't1) Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onAdded : 'u1.
('e Js.t, 'u1 Js.t -> Js.number Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onBeforeAdd : 'v1.
('e Js.t, (#Ext_Component.t as 'v1) 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 : 'w1.
('e Js.t, (#Ext_Component.t as 'w1) Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onDockedRemove : 'x1.
('e Js.t, (#Ext_Component.t as 'x1) Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onEnable : ('e Js.t, unit -> unit) Js.meth_callback Js.writeonly_prop;
onEsc : 'y1. 'y1 Js.callback Js.prop;
onHide : 'z1 'a2 'b2.
('e Js.t,
'z1 Js.t Js.optdef ->
'a2 Js.callback Js.optdef -> 'b2 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 : 'c2.
('e Js.t,
(#Ext_Component.t as 'c2) 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 : 'd2 'e2 'f2 'g2.
('e Js.t,
'd2 Js.t -> 'e2 Js.t -> 'f2 Js.t -> 'g2 Js.t -> unit)
Js.meth_callback Js.writeonly_prop;
onShow : 'h2 'i2 'j2.
('e Js.t,
'h2 Js.t Js.optdef ->
'i2 Js.callback Js.optdef -> 'j2 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop;
onShowComplete : 'k2 'l2.
('e Js.t,
'k2 Js.callback Js.optdef ->
'l2 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 : 'm2. 'm2 Js.t Js.prop; placeholder : 'n2. 'n2 Js.t Js.prop;
placeholderCollapseHideMode : Js.number Js.t Js.prop;
plain : bool Js.t Js.prop; plugins : 'o2. 'o2 Js.t Js.prop;
rbar : 'p2. 'p2 Js.t Js.prop; region : 'q2. 'q2 Js.t Js.prop;
renderData : 'r2. 'r2 Js.t Js.prop;
renderSelectors : 's2. 's2 Js.t Js.prop;
renderTo : 't2. 't2 Js.t Js.prop; renderTpl : 'u2. 'u2 Js.t Js.prop;
resizable : 'b. 'b 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 : 'v2. 'v2 Js.t Js.prop;
shadowOffset : Js.number Js.t Js.prop;
shrinkWrap : 'w2. 'w2 Js.t Js.prop; shrinkWrapDock : 'c. 'c 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 : 'x2. 'x2 Js.t Js.prop; suspendLayout : bool Js.t Js.prop;
tbar : 'y2. 'y2 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 : 'z2. 'z2 Js.t Js.prop; tpl : 'a3. 'a3 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; x : Js.number Js.t Js.prop;
xtype : Js.js_string Js.t Js.prop; y : Js.number Js.t Js.prop; .. >
as 'e)
Js.t, unit -> unit)
Js.meth_callback Js.writeonly_prop as 'd
See method t.initComponent
method onShow : 'h2 'i2 'j2.
('e Js.t,
'h2 Js.t Js.optdef ->
'i2 Js.callback Js.optdef -> 'j2 Js.t Js.optdef -> unit)
Js.meth_callback Js.writeonly_prop
See method t.onShow