Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / docs / api / Ext.core.Element.html
1 <!DOCTYPE html><html><head><title>Ext.core.Element | Ext JS 4.0 Documentation</title><script type="text/javascript" src="../ext-all.js"></script><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../scrollbars.css" type="text/css"><link rel="stylesheet" href="../docs.css" type="text/css"><link id="styleCss" rel="stylesheet" href="../style.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script><link rel="stylesheet" href="../prettify.css" type="text/css"><!-- link(rel: 'stylesheet', href: req.baseURL + '/css/ext4.css', type: 'text/css')--><link rel="shortcut icon" type="image/ico" href="../favicon.ico"><!--[if IE]>
2 <style type="text/css">.head-band { display: none; }
3 .header { border: 0; top: 0; left: 0px; background: url(../header.gif) repeat-x; }
4 .doc-tab .members .member a.more { background-color: #efefef; }
5 </style><link rel="stylesheet" href="/new/css/ie.css" type="text/css"><![endif]-->
6 </head><body id="ext-body" class="iScroll"><div id="notice" class="notice">For up to date documentation and features, visit 
7 <a href="http://docs.sencha.com/ext-js/4-0">http://docs.sencha.com/ext-js/4-0</a></div><div class="wrapper"><div class="head-band"></div><div class="header"><h2><a href="../index.html">Sencha Documentation</a></h2></div><div id="search"><form><input type="text" placeholder="Search" id="search-field" autocomplete="off" name="q"></form><div id="search-box"></div></div><div id="treePanel"></div><div id="container"><script type="text/javascript">
8
9     req = {
10         liveURL: '.',
11         standAloneMode: true,
12         origDocClass: 'Ext.core.Element',
13         docClass: 'Ext.core.Element',
14         docReq: 'Ext.core.Element',
15         version: '4.0',
16         baseURL: '.',
17         baseDocURL: '.',
18         baseProdURL: '.'
19     };
20
21     clsInfo = {};
22
23
24
25 </script>
26
27 <script type="text/javascript" src="../search.js"></script>
28 <!--script type="text/javascript" src="/new/javascripts/app/examples.js"></script-->
29 <script type="text/javascript" src="../class_tree.js"></script>
30 <script type="text/javascript" src="../class_doc.js"></script>
31 <script type="text/javascript">
32     req.source = 'Element-more.html#Ext-core.Element';
33     clsInfo = {"methods":["addCls","addClsOnClick","addClsOnFocus","addClsOnOver","addKeyListener","addKeyMap","addListener","adjustWidth","alignTo","anchorTo","appendChild","appendTo","applyStyles","blur","boxWrap","center","child","clean","clearListeners","clearOpacity","clearPositioning","clip","contains","createChild","createProxy","createShim","destroy","down","enableDisplayMode","fadeIn","fadeOut","findParent","findParentNode","first","fly","focus","frame","fromPoint","get","getAlignToXY","getAnchorXY","getAttributeNS","getBorderWidth","getBottom","getBox","getCenterXY","getColor","getComputedHeight","getComputedWidth","getConstrainVector","getDocumentHeight","getDocumentWidth","getFrameWidth","getHeight","getLeft","getLoader","getMargin","getOffsetsTo","getOrientation","getPadding","getPageBox","getPositioning","getRegion","getRight","getScroll","getSize","getStyle","getStyleSize","getStyles","getTextWidth","getTop","getValue","getViewRegion","getViewSize","getViewportHeight","getViewportWidth","getWidth","getX","getXY","getY","ghost","hide","highlight","hover","initDD","initDDProxy","initDDTarget","insertAfter","insertBefore","insertFirst","insertHtml","insertSibling","is","isBorderBox","isDisplayed","isMasked","isScrollable","isVisible","last","load","mask","monitorMouseLeave","move","moveTo","next","normalize","on","parent","parseBox","parseStyles","pause","position","prev","puff","purgeAllListeners","query","radioCls","relayEvent","remove","removeAllListeners","removeAnchor","removeCls","removeListener","repaint","replace","replaceCls","replaceWith","scale","scroll","scrollIntoView","scrollTo","select","serializeForm","set","setBottom","setBounds","setBox","setDisplayed","setHeight","setLeft","setLeftTop","setLocation","setOpacity","setPositioning","setRegion","setRight","setSize","setStyle","setTop","setVisibilityMode","setVisible","setWidth","setX","setXY","setY","shift","show","slideIn","slideOut","swallowEvent","switchOff","toggle","translatePoints","un","unclip","unitizeBox","unmask","unselectable","up","update","wrap"],"cfgs":[],"properties":["DISPLAY","OFFSETS","VISIBILITY","autoBoxAdjust","defaultUnit","dom","getAttribute","hasCls","id","originalDisplay","toggleCls","visibilityCls"],"events":["DOMActivate","DOMAttrModified","DOMCharacterDataModified","DOMFocusIn","DOMFocusOut","DOMNodeInserted","DOMNodeInsertedIntoDocument","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMSubtreeModified","abort","blur","change","click","contextmenu","dblclick","error","focus","keydown","keypress","keyup","load","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","reset","resize","scroll","select","submit","unload"],"subclasses":["Ext.Layer"]};
34     Ext.onReady(function() {
35         Ext.create('Docs.classPanel');
36     });
37 </script><div id="top-block" class="top-block"><h1 id="clsTitle" class="cls"><a href="../source/Element-more.html#Ext-core.Element" target="_blank">Ext.core.Element</a></h1></div><div id="docContent"><div id="doc-overview-content"><div class="lft"><p>Encapsulates a DOM element, adding simple DOM manipulation facilities, normalizing for browser differences.</p>
38
39
40 <p>All instances of this class inherit the methods of <a href="Ext.fx.Anim.html" rel="Ext.fx.Anim" class="docClass">Ext.fx.Anim</a> making visual effects easily available to all DOM elements.</p>
41
42
43 <p>Note that the events documented in this class are not <a href="Ext.html" rel="Ext" class="docClass">Ext</a> events, they encapsulate browser events. To
44 access the underlying browser event, see <a href="Ext.EventObject.html#browserEvent" rel="Ext.EventObject#browserEvent" class="docClass">Ext.EventObject.browserEvent</a>. Some older
45 browsers may not support the full range of events. Which events are supported is beyond the control of ExtJs.</p>
46
47
48 <p>Usage:<br></p>
49
50 <pre class="prettyprint"><code>// by id
51 var el = Ext.get("my-div");
52
53 // by DOM element reference
54 var el = Ext.get(myDivElement);
55 </code></pre>
56
57
58 <p><b>Animations</b><br /></p>
59
60 <p>When an element is manipulated, by default there is no animation.</p>
61
62
63 <pre class="prettyprint"><code>var el = Ext.get("my-div");
64
65 // no animation
66 el.setWidth(100);
67 </code></pre>
68
69
70 <p>Many of the functions for manipulating an element have an optional "animate" parameter.  This
71 parameter can be specified as boolean (<tt>true</tt>) for default animation effects.</p>
72
73
74 <pre class="prettyprint"><code>// default animation
75 el.setWidth(100, true);
76 </code></pre>
77
78
79
80
81 <p>To configure the effects, an object literal with animation options to use as the Element animation
82 configuration object can also be specified. Note that the supported Element animation configuration
83 options are a subset of the <a href="Ext.fx.Anim.html" rel="Ext.fx.Anim" class="docClass">Ext.fx.Anim</a> animation options specific to Fx effects.  The supported
84 Element animation configuration options are:</p>
85
86
87 <pre class="prettyprint">Option    Default   Description
88 --------- --------  ---------------------------------------------
89 <a href="Ext.fx.Anim.html#duration" rel="Ext.fx.Anim#duration" class="docClass">duration</a>  .35       The duration of the animation in seconds
90 <a href="Ext.fx.Anim.html#easing" rel="Ext.fx.Anim#easing" class="docClass">easing</a>    easeOut   The easing method
91 <a href="Ext.fx.Anim.html#callback" rel="Ext.fx.Anim#callback" class="docClass">callback</a>  none      A function to execute when the anim completes
92 <a href="Ext.fx.Anim.html#scope" rel="Ext.fx.Anim#scope" class="docClass">scope</a>     this      The scope (this) of the callback function
93 </pre>
94
95
96
97
98 <pre class="prettyprint"><code>// Element animation options object
99 var opt = {
100     <a href="Ext.fx.Anim.html#duration" rel="Ext.fx.Anim#duration" class="docClass">duration</a>: 1,
101     <a href="Ext.fx.Anim.html#easing" rel="Ext.fx.Anim#easing" class="docClass">easing</a>: 'elasticIn',
102     <a href="Ext.fx.Anim.html#callback" rel="Ext.fx.Anim#callback" class="docClass">callback</a>: this.foo,
103     <a href="Ext.fx.Anim.html#scope" rel="Ext.fx.Anim#scope" class="docClass">scope</a>: this
104 };
105 // animation with some options set
106 el.setWidth(100, opt);
107 </code></pre>
108
109
110 <p>The Element animation object being used for the animation will be set on the options
111 object as "anim", which allows you to stop or manipulate the animation. Here is an example:</p>
112
113
114 <pre class="prettyprint"><code>// using the "anim" property to get the Anim object
115 if(opt.anim.isAnimated()){
116     opt.anim.stop();
117 }
118 </code></pre>
119
120
121 <p>Also see the <tt><a href="Ext.core.Element.html#animate" rel="Ext.core.Element#animate" class="docClass">animate</a></tt> method for another animation technique.</p>
122
123
124 <p><b> Composite (Collections of) Elements</b></p>
125
126
127 <p>For working with collections of Elements, see <a href="Ext.CompositeElement.html" rel="Ext.CompositeElement" class="docClass">Ext.CompositeElement</a></p>
128
129 <div class="members"><div class="m-properties"><a name="properties"></a><div class="definedBy">Defined By</div><h3 class="prp p">Properties</h3><div id="property-DISPLAY" class="member f ni"><a href="Ext.core.Element.html#property-DISPLAY" rel="property-DISPLAY" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-property-DISPLAY" class="viewSource">view source</a></div><a name="DISPLAY"></a><a name="property-DISPLAY"></a><a href="Ext.core.Element.html#" rel="property-DISPLAY" class="cls expand">DISPLAY</a><span> : Number</span></div><div class="description"><div class="short"><p>Visibility mode constant for use with <a href="Ext.core.Element.html#setVisibilityMode" rel="Ext.core.Element#setVisibilityMode" class="docClass">setVisibilityMode</a>. Use display to hide element</p>
130 </div><div class="long"><p>Visibility mode constant for use with <a href="Ext.core.Element.html#setVisibilityMode" rel="Ext.core.Element#setVisibilityMode" class="docClass">setVisibilityMode</a>. Use display to hide element</p>
131 </div></div></div><div id="property-OFFSETS" class="member ni"><a href="Ext.core.Element.html#property-OFFSETS" rel="property-OFFSETS" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-property-OFFSETS" class="viewSource">view source</a></div><a name="OFFSETS"></a><a name="property-OFFSETS"></a><a href="Ext.core.Element.html#" rel="property-OFFSETS" class="cls expand">OFFSETS</a><span> : Number</span></div><div class="description"><div class="short"><p>Visibility mode constant for use with <a href="Ext.core.Element.html#setVisibilityMode" rel="Ext.core.Element#setVisibilityMode" class="docClass">setVisibilityMode</a>. Use offsets (x and y positioning offscreen)
132 to hide element.</p>
133 </div><div class="long"><p>Visibility mode constant for use with <a href="Ext.core.Element.html#setVisibilityMode" rel="Ext.core.Element#setVisibilityMode" class="docClass">setVisibilityMode</a>. Use offsets (x and y positioning offscreen)
134 to hide element.</p>
135 </div></div></div><div id="property-VISIBILITY" class="member ni"><a href="Ext.core.Element.html#property-VISIBILITY" rel="property-VISIBILITY" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-property-VISIBILITY" class="viewSource">view source</a></div><a name="VISIBILITY"></a><a name="property-VISIBILITY"></a><a href="Ext.core.Element.html#" rel="property-VISIBILITY" class="cls expand">VISIBILITY</a><span> : Number</span></div><div class="description"><div class="short"><p>Visibility mode constant for use with <a href="Ext.core.Element.html#setVisibilityMode" rel="Ext.core.Element#setVisibilityMode" class="docClass">setVisibilityMode</a>. Use visibility to hide element</p>
136 </div><div class="long"><p>Visibility mode constant for use with <a href="Ext.core.Element.html#setVisibilityMode" rel="Ext.core.Element#setVisibilityMode" class="docClass">setVisibilityMode</a>. Use visibility to hide element</p>
137 </div></div></div><div id="property-autoBoxAdjust" class="member ni"><a href="Ext.core.Element.html#property-autoBoxAdjust" rel="property-autoBoxAdjust" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-property-autoBoxAdjust" class="viewSource">view source</a></div><a name="autoBoxAdjust"></a><a name="property-autoBoxAdjust"></a><a href="Ext.core.Element.html#" rel="property-autoBoxAdjust" class="cls expand">autoBoxAdjust</a><span> : Boolean</span></div><div class="description"><div class="short"><p>true to automatically adjust width and height settings for box-model issues (default to true)</p>
138 </div><div class="long"><p>true to automatically adjust width and height settings for box-model issues (default to true)</p>
139 </div></div></div><div id="property-defaultUnit" class="member ni"><a href="Ext.core.Element.html#property-defaultUnit" rel="property-defaultUnit" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-property-defaultUnit" class="viewSource">view source</a></div><a name="defaultUnit"></a><a name="property-defaultUnit"></a><a href="Ext.core.Element.html#" rel="property-defaultUnit" class="cls expand">defaultUnit</a><span> : String</span></div><div class="description"><div class="short"><p>The default unit to append to CSS values where a unit isn't provided (defaults to px).</p>
140 </div><div class="long"><p>The default unit to append to CSS values where a unit isn't provided (defaults to px).</p>
141 </div></div></div><div id="property-dom" class="member ni"><a href="Ext.core.Element.html#property-dom" rel="property-dom" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-property-dom" class="viewSource">view source</a></div><a name="dom"></a><a name="property-dom"></a><a href="Ext.core.Element.html#" rel="property-dom" class="cls expand">dom</a><span> : HTMLElement</span></div><div class="description"><div class="short"><p>The DOM element</p>
142 </div><div class="long"><p>The DOM element</p>
143 </div></div></div><div id="property-getAttribute" class="member ni"><a href="Ext.core.Element.html#property-getAttribute" rel="property-getAttribute" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-property-getAttribute" class="viewSource">view source</a></div><a name="getAttribute"></a><a name="property-getAttribute"></a><a href="Ext.core.Element.html#" rel="property-getAttribute" class="cls expand">getAttribute</a><span> : Object</span></div><div class="description"><div class="short"><p>Returns the value of an attribute from the element's underlying DOM node.</p>
144 </div><div class="long"><p>Returns the value of an attribute from the element's underlying DOM node.</p>
145 </div></div></div><div id="property-hasCls" class="member ni"><a href="Ext.core.Element.html#property-hasCls" rel="property-hasCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-property-hasCls" class="viewSource">view source</a></div><a name="hasCls"></a><a name="property-hasCls"></a><a href="Ext.core.Element.html#" rel="property-hasCls" class="cls expand">hasCls</a><span> : Object</span></div><div class="description"><div class="short"><p>Checks if the specified CSS class exists on this element's DOM node.</p>
146 </div><div class="long"><p>Checks if the specified CSS class exists on this element's DOM node.</p>
147 </div></div></div><div id="property-id" class="member ni"><a href="Ext.core.Element.html#property-id" rel="property-id" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-property-id" class="viewSource">view source</a></div><a name="id"></a><a name="property-id"></a><a href="Ext.core.Element.html#" rel="property-id" class="cls expand">id</a><span> : String</span></div><div class="description"><div class="short"><p>The DOM element ID</p>
148 </div><div class="long"><p>The DOM element ID</p>
149 </div></div></div><div id="property-originalDisplay" class="member ni"><a href="Ext.core.Element.html#property-originalDisplay" rel="property-originalDisplay" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-property-originalDisplay" class="viewSource">view source</a></div><a name="originalDisplay"></a><a name="property-originalDisplay"></a><a href="Ext.core.Element.html#" rel="property-originalDisplay" class="cls expand">originalDisplay</a><span> : String</span></div><div class="description"><div class="short"><p>The element's default display mode  (defaults to "")</p>
150 </div><div class="long"><p>The element's default display mode  (defaults to "")</p>
151 </div></div></div><div id="property-toggleCls" class="member ni"><a href="Ext.core.Element.html#property-toggleCls" rel="property-toggleCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-property-toggleCls" class="viewSource">view source</a></div><a name="toggleCls"></a><a name="property-toggleCls"></a><a href="Ext.core.Element.html#" rel="property-toggleCls" class="cls expand">toggleCls</a><span> : Object</span></div><div class="description"><div class="short"><p>Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).</p>
152 </div><div class="long"><p>Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).</p>
153 </div></div></div><div id="property-visibilityCls" class="member ni"><a href="Ext.core.Element.html#property-visibilityCls" rel="property-visibilityCls" class="expand more"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-property-visibilityCls" class="viewSource">view source</a></div><a name="visibilityCls"></a><a name="property-visibilityCls"></a><a href="Ext.core.Element.html#" rel="property-visibilityCls" class="cls expand">visibilityCls</a><span> : String</span></div><div class="description"><div class="short"><p>Defaults to 'x-hide-nosize'</p>
154 </div><div class="long"><p>Defaults to 'x-hide-nosize'</p>
155 </div></div></div></div><div class="m-methods"><a name="methods"></a><div class="definedBy">Defined By</div><h3 class="mth p">Methods</h3><div id="method-addCls" class="member f ni"><a href="Ext.core.Element.html#method-addCls" rel="method-addCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-addCls" class="viewSource">view source</a></div><a name="addCls"></a><a name="method-addCls"></a><a href="Ext.core.Element.html#" rel="method-addCls" class="cls expand">addCls</a>(
156 <span class="pre">String/Array className</span>)
157  : Ext.core.Element</div><div class="description"><div class="short"><p>Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.</p>
158 </div><div class="long"><p>Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.</p>
159 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : String/Array<div class="sub-desc"><p>The CSS classes to add separated by space, or an array of classes</p>
160 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
161 </li></ul></div></div></div><div id="method-addClsOnClick" class="member ni"><a href="Ext.core.Element.html#method-addClsOnClick" rel="method-addClsOnClick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-addClsOnClick" class="viewSource">view source</a></div><a name="addClsOnClick"></a><a name="method-addClsOnClick"></a><a href="Ext.core.Element.html#" rel="method-addClsOnClick" class="cls expand">addClsOnClick</a>(
162 <span class="pre">String className</span>)
163  : Ext.core.Element</div><div class="description"><div class="short">Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effe...</div><div class="long"><p>Sets up event handlers to add and remove a css class when the mouse is down and then up on this element (a click effect)</p>
164 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : String<div class="sub-desc">
165 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
166 </li></ul></div></div></div><div id="method-addClsOnFocus" class="member ni"><a href="Ext.core.Element.html#method-addClsOnFocus" rel="method-addClsOnFocus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-addClsOnFocus" class="viewSource">view source</a></div><a name="addClsOnFocus"></a><a name="method-addClsOnFocus"></a><a href="Ext.core.Element.html#" rel="method-addClsOnFocus" class="cls expand">addClsOnFocus</a>(
167 <span class="pre">String className</span>)
168  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets up event handlers to add and remove a css class when this element has the focus</p>
169 </div><div class="long"><p>Sets up event handlers to add and remove a css class when this element has the focus</p>
170 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : String<div class="sub-desc">
171 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
172 </li></ul></div></div></div><div id="method-addClsOnOver" class="member ni"><a href="Ext.core.Element.html#method-addClsOnOver" rel="method-addClsOnOver" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-addClsOnOver" class="viewSource">view source</a></div><a name="addClsOnOver"></a><a name="method-addClsOnOver"></a><a href="Ext.core.Element.html#" rel="method-addClsOnOver" class="cls expand">addClsOnOver</a>(
173 <span class="pre">String className</span>)
174  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets up event handlers to add and remove a css class when the mouse is over this element</p>
175 </div><div class="long"><p>Sets up event handlers to add and remove a css class when the mouse is over this element</p>
176 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : String<div class="sub-desc">
177 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
178 </li></ul></div></div></div><div id="method-addKeyListener" class="member ni"><a href="Ext.core.Element.html#method-addKeyListener" rel="method-addKeyListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.keys.html#Ext-core.Element-method-addKeyListener" class="viewSource">view source</a></div><a name="addKeyListener"></a><a name="method-addKeyListener"></a><a href="Ext.core.Element.html#" rel="method-addKeyListener" class="cls expand">addKeyListener</a>(
179 <span class="pre">Number/Array/Object/String key, Function fn, [Object scope]</span>)
180  : Ext.util.KeyMap</div><div class="description"><div class="short"><p>Convenience method for constructing a KeyMap</p>
181 </div><div class="long"><p>Convenience method for constructing a KeyMap</p>
182 <h3 class="pa">Parameters</h3><ul><li><span class="pre">key</span> : Number/Array/Object/String<div class="sub-desc"><p>Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:
183 <code>{key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}</code></p>
184 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The function to call</p>
185 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the specified function is executed. Defaults to this Element.</p>
186 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.util.KeyMap</span>&nbsp; &nbsp;<p>The KeyMap created</p>
187 </li></ul></div></div></div><div id="method-addKeyMap" class="member ni"><a href="Ext.core.Element.html#method-addKeyMap" rel="method-addKeyMap" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.keys.html#Ext-core.Element-method-addKeyMap" class="viewSource">view source</a></div><a name="addKeyMap"></a><a name="method-addKeyMap"></a><a href="Ext.core.Element.html#" rel="method-addKeyMap" class="cls expand">addKeyMap</a>(
188 <span class="pre">Object config</span>)
189  : Ext.util.KeyMap</div><div class="description"><div class="short"><p>Creates a KeyMap for this element</p>
190 </div><div class="long"><p>Creates a KeyMap for this element</p>
191 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The KeyMap config. See <a href="Ext.util.KeyMap.html" rel="Ext.util.KeyMap" class="docClass">Ext.util.KeyMap</a> for more details</p>
192 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.util.KeyMap</span>&nbsp; &nbsp;<p>The KeyMap created</p>
193 </li></ul></div></div></div><div id="method-addListener" class="member ni"><a href="Ext.core.Element.html#method-addListener" rel="method-addListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-addListener" class="viewSource">view source</a></div><a name="addListener"></a><a name="method-addListener"></a><a href="Ext.core.Element.html#" rel="method-addListener" class="cls expand">addListener</a>(
194 <span class="pre">String eventName, Function fn, [Object scope], [Object options]</span>)
195  : Ext.core.Element</div><div class="description"><div class="short"><p>Appends an event handler to this element.  The shorthand version <a href="Ext.core.Element.html#on" rel="Ext.core.Element#on" class="docClass">on</a> is equivalent.</p>
196 </div><div class="long"><p>Appends an event handler to this element.  The shorthand version <a href="Ext.core.Element.html#on" rel="Ext.core.Element#on" class="docClass">on</a> is equivalent.</p>
197 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of event to handle.</p>
198 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The handler function the event invokes. This function is passed
199 the following parameters:<ul>
200 <li><b>evt</b> : EventObject<div class="sub-desc">The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">EventObject</a> describing the event.</div></li>
201 <li><b>el</b> : HtmlElement<div class="sub-desc">The DOM element which was the target of the event.
202 Note that this may be filtered by using the <tt>delegate</tt> option.</div></li>
203 <li><b>o</b> : Object<div class="sub-desc">The options object from the addListener call.</div></li>
204 </ul></p>
205 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
206 <b>If omitted, defaults to this Element.</b>.</p>
207 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing handler configuration properties.
208 This may contain any of the following properties:<ul>
209 <li><b>scope</b> Object : <div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
210 <b>If omitted, defaults to this Element.</b></div></li>
211 <li><b>delegate</b> String: <div class="sub-desc">A simple selector to filter the target or look for a descendant of the target. See below for additional details.</div></li>
212 <li><b>stopEvent</b> Boolean: <div class="sub-desc">True to stop the event. That is stop propagation, and prevent the default action.</div></li>
213 <li><b>preventDefault</b> Boolean: <div class="sub-desc">True to prevent the default action</div></li>
214 <li><b>stopPropagation</b> Boolean: <div class="sub-desc">True to prevent event propagation</div></li>
215 <li><b>normalized</b> Boolean: <div class="sub-desc">False to pass a browser event to the handler function instead of an Ext.EventObject</div></li>
216 <li><b>target</b> Ext.core.Element: <div class="sub-desc">Only call the handler if the event was fired on the target Element, <i>not</i> if the event was bubbled up from a child node.</div></li>
217 <li><b>delay</b> Number: <div class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</div></li>
218 <li><b>single</b> Boolean: <div class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</div></li>
219 <li><b>buffer</b> Number: <div class="sub-desc">Causes the handler to be scheduled to run in an <a href="Ext.util.DelayedTask.html" rel="Ext.util.DelayedTask" class="docClass">Ext.util.DelayedTask</a> delayed
220 by the specified number of milliseconds. If the event fires again within that time, the original
221 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
222 </ul><br></p>
223
224 <p>
225 <b>Combining Options</b><br>
226 In the following examples, the shorthand form <a href="Ext.core.Element.html#on" rel="Ext.core.Element#on" class="docClass">on</a> is used rather than the more verbose
227 addListener.  The two are equivalent.  Using the options argument, it is possible to combine different
228 types of listeners:<br>
229 <br>
230 A delayed, one-time listener that auto stops the event and adds a custom argument (forumId) to the
231 options object. The options object is available as the third parameter in the handler function.<div style="margin: 5px 20px 20px;">
232 Code:
233 <pre><code>el.on('click', this.onClick, this, {
234     single: true,
235     delay: 100,
236     stopEvent : true,
237     forumId: 4
238 });</code></pre></p>
239
240
241 <p>
242 <b>Attaching multiple handlers in 1 call</b><br>
243 The method also allows for a single argument to be passed which is a config object containing properties
244 which specify multiple handlers.</p>
245
246
247 <p>
248 Code:
249 <pre><code>el.on({
250     'click' : {
251         fn: this.onClick,
252         scope: this,
253         delay: 100
254     },
255     'mouseover' : {
256         fn: this.onMouseOver,
257         scope: this
258     },
259     'mouseout' : {
260         fn: this.onMouseOut,
261         scope: this
262     }
263 });</code></pre>
264 <p>
265 Or a shorthand syntax:<br>
266 Code:
267 <pre><code></p>
268 el.on({
269     'click' : this.onClick,
270     'mouseover' : this.onMouseOver,
271     'mouseout' : this.onMouseOut,
272     scope: this
273 });
274 </code></pre></p>
275
276
277 <p><b>delegate</b></p>
278
279
280 <p>This is a configuration option that you can pass along when registering a handler for
281 an event to assist with event delegation. Event delegation is a technique that is used to
282 reduce memory consumption and prevent exposure to memory-leaks. By registering an event
283 for a container element as opposed to each element within a container. By setting this
284 configuration option to a simple selector, the target element will be filtered to look for
285 a descendant of the target.
286 For example:
287 <pre><code>// using this markup:
288 &lt;div id='elId'>
289     &lt;p id='p1'>paragraph one&lt;/p>
290     &lt;p id='p2' class='clickable'>paragraph two&lt;/p>
291     &lt;p id='p3'>paragraph three&lt;/p>
292 &lt;/div>
293 // utilize event delegation to registering just one handler on the container element:
294 el = Ext.get('elId');
295 el.on(
296     'click',
297     function(e,t) {
298         // handle click
299         console.info(t.id); // 'p2'
300     },
301     this,
302     {
303         // filter the target element to be a descendant with the class 'clickable'
304         delegate: '.clickable'
305     }
306 );
307 </code></pre></p>
308
309 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
310 </li></ul></div></div></div><div id="method-adjustWidth" class="member ni"><a href="Ext.core.Element.html#method-adjustWidth" rel="method-adjustWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-adjustWidth" class="viewSource">view source</a></div><a name="adjustWidth"></a><a name="method-adjustWidth"></a><a href="Ext.core.Element.html#" rel="method-adjustWidth" class="cls expand">adjustWidth</a>(
311 <span class="pre">Object width</span>)
312  : void</div><div class="description"><div class="short"><p>TODO: Look at this</p>
313 </div><div class="long"><p>TODO: Look at this</p>
314 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Object<div class="sub-desc">
315 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
316 </li></ul></div></div></div><div id="method-alignTo" class="member ni"><a href="Ext.core.Element.html#method-alignTo" rel="method-alignTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.alignment.html#Ext-core.Element-method-alignTo" class="viewSource">view source</a></div><a name="alignTo"></a><a name="method-alignTo"></a><a href="Ext.core.Element.html#" rel="method-alignTo" class="cls expand">alignTo</a>(
317 <span class="pre">Mixed element, String position, [Array offsets], [Boolean/Object animate]</span>)
318  : Ext.core.Element</div><div class="description"><div class="short">Aligns this element with another element relative to the specified anchor points. If the other element is the
319 documen...</div><div class="long"><p>Aligns this element with another element relative to the specified anchor points. If the other element is the
320 document it aligns it to the viewport.
321 The position parameter is optional, and can be specified in any one of the following formats:</p>
322
323 <ul>
324   <li><b>Blank</b>: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl").</li>
325   <li><b>One anchor (deprecated)</b>: The passed anchor position is used as the target element's anchor point.
326       The element being aligned will position its top-left corner (tl) to that point.  <i>This method has been
327       deprecated in favor of the newer two anchor syntax below</i>.</li>
328   <li><b>Two anchors</b>: If two values from the table below are passed separated by a dash, the first value is used as the
329       element's anchor point, and the second value is used as the target's anchor point.</li>
330 </ul>
331
332
333 <p>In addition to the anchor points, the position parameter also supports the "?" character.  If "?" is passed at the end of
334 the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to
335 the viewport if necessary.  Note that the element being aligned might be swapped to align to a different position than
336 that specified in order to enforce the viewport constraints.
337 Following are all of the supported anchor positions:</p>
338
339 <pre>Value  Description
340 -----  -----------------------------
341 tl     The top left corner (default)
342 t      The center of the top edge
343 tr     The top right corner
344 l      The center of the left edge
345 c      In the center of the element
346 r      The center of the right edge
347 bl     The bottom left corner
348 b      The center of the bottom edge
349 br     The bottom right corner
350 </pre>
351
352
353 <p>Example Usage:</p>
354
355 <pre><code>// align el to other-el using the default positioning ("tl-bl", non-constrained)
356 el.alignTo("other-el");
357
358 // align the top left corner of el with the top right corner of other-el (constrained to viewport)
359 el.alignTo("other-el", "tr?");
360
361 // align the bottom right corner of el with the center left edge of other-el
362 el.alignTo("other-el", "br-l?");
363
364 // align the center of el with the bottom left corner of other-el and
365 // adjust the x position by -6 pixels (and the y position by 0)
366 el.alignTo("other-el", "c-bl", [-6, 0]);
367 </code></pre>
368
369 <h3 class="pa">Parameters</h3><ul><li><span class="pre">element</span> : Mixed<div class="sub-desc"><p>The element to align to.</p>
370 </div></li><li><span class="pre">position</span> : String<div class="sub-desc"><p>(optional, defaults to "tl-bl?") The position to align to.</p>
371 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
372 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
373 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
374 </li></ul></div></div></div><div id="method-anchorTo" class="member ni"><a href="Ext.core.Element.html#method-anchorTo" rel="method-anchorTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.alignment.html#Ext-core.Element-method-anchorTo" class="viewSource">view source</a></div><a name="anchorTo"></a><a name="method-anchorTo"></a><a href="Ext.core.Element.html#" rel="method-anchorTo" class="cls expand">anchorTo</a>(
375 <span class="pre">Mixed element, String position, [Array offsets], [Boolean/Object animate], [Boolean/Number monitorScroll], Function callback</span>)
376  : Ext.core.Element</div><div class="description"><div class="short"><p>Anchors an element to another element and realigns it when the window is resized.</p>
377 </div><div class="long"><p>Anchors an element to another element and realigns it when the window is resized.</p>
378 <h3 class="pa">Parameters</h3><ul><li><span class="pre">element</span> : Mixed<div class="sub-desc"><p>The element to align to.</p>
379 </div></li><li><span class="pre">position</span> : String<div class="sub-desc"><p>The position to align to.</p>
380 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
381 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) True for the default animation or a standard Element animation config object</p>
382 </div></li><li><span class="pre">monitorScroll</span> : Boolean/Number<div class="sub-desc"><p>(optional) True to monitor body scroll and reposition. If this parameter
383 is a number, it is used as the buffer delay (defaults to 50ms).</p>
384 </div></li><li><span class="pre">callback</span> : Function<div class="sub-desc"><p>The function to call after the animation finishes</p>
385 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
386 </li></ul></div></div></div><div id="method-appendChild" class="member ni"><a href="Ext.core.Element.html#method-appendChild" rel="method-appendChild" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-appendChild" class="viewSource">view source</a></div><a name="appendChild"></a><a name="method-appendChild"></a><a href="Ext.core.Element.html#" rel="method-appendChild" class="cls expand">appendChild</a>(
387 <span class="pre">String/HTMLElement/Array/Element/CompositeElement el</span>)
388  : Ext.core.Element</div><div class="description"><div class="short"><p>Appends the passed element(s) to this element</p>
389 </div><div class="long"><p>Appends the passed element(s) to this element</p>
390 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : String/HTMLElement/Array/Element/CompositeElement<div class="sub-desc">
391 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
392 </li></ul></div></div></div><div id="method-appendTo" class="member ni"><a href="Ext.core.Element.html#method-appendTo" rel="method-appendTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-appendTo" class="viewSource">view source</a></div><a name="appendTo"></a><a name="method-appendTo"></a><a href="Ext.core.Element.html#" rel="method-appendTo" class="cls expand">appendTo</a>(
393 <span class="pre">Mixed el</span>)
394  : Ext.core.Element</div><div class="description"><div class="short"><p>Appends this element to the passed element</p>
395 </div><div class="long"><p>Appends this element to the passed element</p>
396 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The new parent element</p>
397 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
398 </li></ul></div></div></div><div id="method-applyStyles" class="member ni"><a href="Ext.core.Element.html#method-applyStyles" rel="method-applyStyles" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-applyStyles" class="viewSource">view source</a></div><a name="applyStyles"></a><a name="method-applyStyles"></a><a href="Ext.core.Element.html#" rel="method-applyStyles" class="cls expand">applyStyles</a>(
399 <span class="pre">String/Object/Function styles</span>)
400  : Ext.core.Element</div><div class="description"><div class="short"><p>More flexible version of <a href="Ext.core.Element.html#setStyle" rel="Ext.core.Element#setStyle" class="docClass">setStyle</a> for setting style properties.</p>
401 </div><div class="long"><p>More flexible version of <a href="Ext.core.Element.html#setStyle" rel="Ext.core.Element#setStyle" class="docClass">setStyle</a> for setting style properties.</p>
402 <h3 class="pa">Parameters</h3><ul><li><span class="pre">styles</span> : String/Object/Function<div class="sub-desc"><p>A style specification string, e.g. "width:100px", or object in the form {width:"100px"}, or
403 a function which returns such a specification.</p>
404 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
405 </li></ul></div></div></div><div id="method-blur" class="member ni"><a href="Ext.core.Element.html#method-blur" rel="method-blur" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-blur" class="viewSource">view source</a></div><a name="blur"></a><a name="method-blur"></a><a href="Ext.core.Element.html#" rel="method-blur" class="cls expand">blur</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Tries to blur the element. Any exceptions are caught and ignored.</p>
406 </div><div class="long"><p>Tries to blur the element. Any exceptions are caught and ignored.</p>
407 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
408 </li></ul></div></div></div><div id="method-boxWrap" class="member ni"><a href="Ext.core.Element.html#method-boxWrap" rel="method-boxWrap" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-boxWrap" class="viewSource">view source</a></div><a name="boxWrap"></a><a name="method-boxWrap"></a><a href="Ext.core.Element.html#" rel="method-boxWrap" class="cls expand">boxWrap</a>(
409 <span class="pre">[String class]</span>)
410  : Ext.core.Element</div><div class="description"><div class="short">Wraps the specified element with a special 9 element markup/CSS block that renders by default as
411 a gray container wit...</div><div class="long"><p>Wraps the specified element with a special 9 element markup/CSS block that renders by default as
412 a gray container with a gradient background, rounded corners and a 4-way shadow.</p>
413
414
415 <p>This special markup is used throughout <a href="Ext.html" rel="Ext" class="docClass">Ext</a> when box wrapping elements (<a href="Ext.button.Button.html" rel="Ext.button.Button" class="docClass">Ext.button.Button</a>,
416 <a href="Ext.panel.Panel.html" rel="Ext.panel.Panel" class="docClass">Ext.panel.Panel</a> when <tt><a href="Ext.panel.Panel.html#frame" rel="Ext.panel.Panel#frame" class="docClass">frame=true</a></tt>, <a href="Ext.window.Window.html" rel="Ext.window.Window" class="docClass">Ext.window.Window</a>).  The markup
417 is of this form:</p>
418
419
420 <pre><code>    Ext.core.Element.boxMarkup =
421     &#39;&lt;div class="{0}-tl">&lt;div class="{0}-tr">&lt;div class="{0}-tc">&lt;/div>&lt;/div>&lt;/div>
422      &lt;div class="{0}-ml">&lt;div class="{0}-mr">&lt;div class="{0}-mc">&lt;/div>&lt;/div>&lt;/div>
423      &lt;div class="{0}-bl">&lt;div class="{0}-br">&lt;div class="{0}-bc">&lt;/div>&lt;/div>&lt;/div>&#39;;
424 </code></pre>
425
426
427 <p>Example usage:</p>
428
429
430 <pre><code>    // Basic box wrap
431     Ext.get("foo").boxWrap();
432
433     // You can also add a custom class and use CSS inheritance rules to customize the box look.
434     // 'x-box-blue' is a built-in alternative -- look at the related CSS definitions as an example
435     // for how to create a custom box wrap style.
436     Ext.get("foo").boxWrap().addCls("x-box-blue");
437 </code></pre>
438
439 <h3 class="pa">Parameters</h3><ul><li><span class="pre">class</span> : String<div class="sub-desc"><p>(optional) A base CSS class to apply to the containing wrapper element
440 (defaults to <tt>'x-box'</tt>). Note that there are a number of CSS rules that are dependent on
441 this name to make the overall effect work, so if you supply an alternate base class, make sure you
442 also supply all of the necessary rules.</p>
443 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The outermost wrapping element of the created box structure.</p>
444 </li></ul></div></div></div><div id="method-center" class="member ni"><a href="Ext.core.Element.html#method-center" rel="method-center" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.alignment.html#Ext-core.Element-method-center" class="viewSource">view source</a></div><a name="center"></a><a name="method-center"></a><a href="Ext.core.Element.html#" rel="method-center" class="cls expand">center</a>(
445 <span class="pre">[Mixed centerIn]</span>)
446  : void</div><div class="description"><div class="short"><p>Centers the Element in either the viewport, or another Element.</p>
447 </div><div class="long"><p>Centers the Element in either the viewport, or another Element.</p>
448 <h3 class="pa">Parameters</h3><ul><li><span class="pre">centerIn</span> : Mixed<div class="sub-desc"><p>(optional) The element in which to center the element.</p>
449 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
450 </li></ul></div></div></div><div id="method-child" class="member ni"><a href="Ext.core.Element.html#method-child" rel="method-child" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-child" class="viewSource">view source</a></div><a name="child"></a><a name="method-child"></a><a href="Ext.core.Element.html#" rel="method-child" class="cls expand">child</a>(
451 <span class="pre">String selector, [Boolean returnDom]</span>)
452  : HTMLElement/Ext.core.Element</div><div class="description"><div class="short"><p>Selects a single <em>direct</em> child based on the passed CSS selector (the selector should not contain an id).</p>
453 </div><div class="long"><p>Selects a single <em>direct</em> child based on the passed CSS selector (the selector should not contain an id).</p>
454 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The CSS selector</p>
455 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return the DOM node instead of <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> (defaults to false)</p>
456 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement/Ext.core.Element</span>&nbsp; &nbsp;<p>The child <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> (or DOM node if returnDom = true)</p>
457 </li></ul></div></div></div><div id="method-clean" class="member ni"><a href="Ext.core.Element.html#method-clean" rel="method-clean" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element-more.html#Ext-core.Element-method-clean" class="viewSource">view source</a></div><a name="clean"></a><a name="method-clean"></a><a href="Ext.core.Element.html#" rel="method-clean" class="cls expand">clean</a>(
458 <span class="pre">[Boolean forceReclean]</span>)
459  : void</div><div class="description"><div class="short"><p>Removes Empty, or whitespace filled text nodes. Combines adjacent text nodes.</p>
460 </div><div class="long"><p>Removes Empty, or whitespace filled text nodes. Combines adjacent text nodes.</p>
461 <h3 class="pa">Parameters</h3><ul><li><span class="pre">forceReclean</span> : Boolean<div class="sub-desc"><p>(optional) By default the element
462 keeps track if it has been cleaned already so
463 you can call this over and over. However, if you update the element and
464 need to force a reclean, you can pass true.</p>
465 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
466 </li></ul></div></div></div><div id="method-clearListeners" class="member ni"><a href="Ext.core.Element.html#method-clearListeners" rel="method-clearListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-clearListeners" class="viewSource">view source</a></div><a name="clearListeners"></a><a name="method-clearListeners"></a><a href="Ext.core.Element.html#" rel="method-clearListeners" class="cls expand">clearListeners</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Removes all previous added listeners from this element</p>
467 </div><div class="long"><p>Removes all previous added listeners from this element</p>
468 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
469 </li></ul></div></div></div><div id="method-clearOpacity" class="member ni"><a href="Ext.core.Element.html#method-clearOpacity" rel="method-clearOpacity" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-clearOpacity" class="viewSource">view source</a></div><a name="clearOpacity"></a><a name="method-clearOpacity"></a><a href="Ext.core.Element.html#" rel="method-clearOpacity" class="cls expand">clearOpacity</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Clears any opacity settings from this element. Required in some cases for IE.</p>
470 </div><div class="long"><p>Clears any opacity settings from this element. Required in some cases for IE.</p>
471 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
472 </li></ul></div></div></div><div id="method-clearPositioning" class="member ni"><a href="Ext.core.Element.html#method-clearPositioning" rel="method-clearPositioning" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-clearPositioning" class="viewSource">view source</a></div><a name="clearPositioning"></a><a name="method-clearPositioning"></a><a href="Ext.core.Element.html#" rel="method-clearPositioning" class="cls expand">clearPositioning</a>(
473 <span class="pre">[String value]</span>)
474  : Ext.core.Element</div><div class="description"><div class="short"><p>Clear positioning back to the default when the document was loaded</p>
475 </div><div class="long"><p>Clear positioning back to the default when the document was loaded</p>
476 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : String<div class="sub-desc"><p>(optional) The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.</p>
477 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
478 </li></ul></div></div></div><div id="method-clip" class="member ni"><a href="Ext.core.Element.html#method-clip" rel="method-clip" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-clip" class="viewSource">view source</a></div><a name="clip"></a><a name="method-clip"></a><a href="Ext.core.Element.html#" rel="method-clip" class="cls expand">clip</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Store the current overflow setting and clip overflow on the element - use <tt><a href="Ext.core.Element.html#unclip" rel="Ext.core.Element#unclip" class="docClass">unclip</a></tt> to remove</p>
479 </div><div class="long"><p>Store the current overflow setting and clip overflow on the element - use <tt><a href="Ext.core.Element.html#unclip" rel="Ext.core.Element#unclip" class="docClass">unclip</a></tt> to remove</p>
480 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
481 </li></ul></div></div></div><div id="method-contains" class="member ni"><a href="Ext.core.Element.html#method-contains" rel="method-contains" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-contains" class="viewSource">view source</a></div><a name="contains"></a><a name="method-contains"></a><a href="Ext.core.Element.html#" rel="method-contains" class="cls expand">contains</a>(
482 <span class="pre">HTMLElement/String el</span>)
483  : Boolean</div><div class="description"><div class="short"><p>Returns true if this element is an ancestor of the passed element</p>
484 </div><div class="long"><p>Returns true if this element is an ancestor of the passed element</p>
485 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : HTMLElement/String<div class="sub-desc"><p>The element to check</p>
486 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this element is an ancestor of el, else false</p>
487 </li></ul></div></div></div><div id="method-createChild" class="member ni"><a href="Ext.core.Element.html#method-createChild" rel="method-createChild" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-createChild" class="viewSource">view source</a></div><a name="createChild"></a><a name="method-createChild"></a><a href="Ext.core.Element.html#" rel="method-createChild" class="cls expand">createChild</a>(
488 <span class="pre">Object config, [HTMLElement insertBefore], [Boolean returnDom]</span>)
489  : Ext.core.Element</div><div class="description"><div class="short">Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e...</div><div class="long"><p>Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.</p>
490 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>DomHelper element config object.  If no tag is specified (e.g., {tag:'input'}) then a div will be
491 automatically generated with the specified attributes.</p>
492 </div></li><li><span class="pre">insertBefore</span> : HTMLElement<div class="sub-desc"><p>(optional) a child element of this element</p>
493 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) true to return the dom node instead of creating an Element</p>
494 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The new child element</p>
495 </li></ul></div></div></div><div id="method-createProxy" class="member ni"><a href="Ext.core.Element.html#method-createProxy" rel="method-createProxy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element-more.html#Ext-core.Element-method-createProxy" class="viewSource">view source</a></div><a name="createProxy"></a><a name="method-createProxy"></a><a href="Ext.core.Element.html#" rel="method-createProxy" class="cls expand">createProxy</a>(
496 <span class="pre">String/Object config, [String/HTMLElement renderTo], [Boolean matchBox]</span>)
497  : Ext.core.Element</div><div class="description"><div class="short"><p>Creates a proxy element of this element</p>
498 </div><div class="long"><p>Creates a proxy element of this element</p>
499 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : String/Object<div class="sub-desc"><p>The class name of the proxy element or a DomHelper config object</p>
500 </div></li><li><span class="pre">renderTo</span> : String/HTMLElement<div class="sub-desc"><p>(optional) The element or element id to render the proxy to (defaults to document.body)</p>
501 </div></li><li><span class="pre">matchBox</span> : Boolean<div class="sub-desc"><p>(optional) True to align and size the proxy to this element now (defaults to false)</p>
502 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The new proxy element</p>
503 </li></ul></div></div></div><div id="method-createShim" class="member ni"><a href="Ext.core.Element.html#method-createShim" rel="method-createShim" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx-more.html#Ext-core.Element-method-createShim" class="viewSource">view source</a></div><a name="createShim"></a><a name="method-createShim"></a><a href="Ext.core.Element.html#" rel="method-createShim" class="cls expand">createShim</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Creates an iframe shim for this element to keep selects and other windowed objects from
504 showing through.</p>
505 </div><div class="long"><p>Creates an iframe shim for this element to keep selects and other windowed objects from
506 showing through.</p>
507 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The new shim element</p>
508 </li></ul></div></div></div><div id="method-destroy" class="member ni"><a href="Ext.core.Element.html#method-destroy" rel="method-destroy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-destroy" class="viewSource">view source</a></div><a name="destroy"></a><a name="method-destroy"></a><a href="Ext.core.Element.html#" rel="method-destroy" class="cls expand">destroy</a> : void</div><div class="description"><div class="short"><p>Removes this element's dom reference.  Note that event and cache removal is handled at <a href="Ext.html#removeNode" rel="Ext#removeNode" class="docClass">Ext.removeNode</a>.
509 Alias to <a href="Ext.core.Element.html#remove" rel="Ext.core.Element#remove" class="docClass">remove</a>.</p>
510 </div><div class="long"><p>Removes this element's dom reference.  Note that event and cache removal is handled at <a href="Ext.html#removeNode" rel="Ext#removeNode" class="docClass">Ext.removeNode</a>.
511 Alias to <a href="Ext.core.Element.html#remove" rel="Ext.core.Element#remove" class="docClass">remove</a>.</p>
512 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
513 </li></ul></div></div></div><div id="method-down" class="member ni"><a href="Ext.core.Element.html#method-down" rel="method-down" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-down" class="viewSource">view source</a></div><a name="down"></a><a name="method-down"></a><a href="Ext.core.Element.html#" rel="method-down" class="cls expand">down</a>(
514 <span class="pre">String selector, [Boolean returnDom]</span>)
515  : HTMLElement/Ext.core.Element</div><div class="description"><div class="short">Selects a single child at any depth below this element based on the passed CSS selector (the selector should not cont...</div><div class="long"><p>Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).</p>
516 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The CSS selector</p>
517 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return the DOM node instead of <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> (defaults to false)</p>
518 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement/Ext.core.Element</span>&nbsp; &nbsp;<p>The child <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> (or DOM node if returnDom = true)</p>
519 </li></ul></div></div></div><div id="method-enableDisplayMode" class="member ni"><a href="Ext.core.Element.html#method-enableDisplayMode" rel="method-enableDisplayMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx-more.html#Ext-core.Element-method-enableDisplayMode" class="viewSource">view source</a></div><a name="enableDisplayMode"></a><a name="method-enableDisplayMode"></a><a href="Ext.core.Element.html#" rel="method-enableDisplayMode" class="cls expand">enableDisplayMode</a>(
520 <span class="pre">[String display]</span>)
521  : Ext.core.Element</div><div class="description"><div class="short"><p>Convenience method for setVisibilityMode(Element.DISPLAY)</p>
522 </div><div class="long"><p>Convenience method for setVisibilityMode(Element.DISPLAY)</p>
523 <h3 class="pa">Parameters</h3><ul><li><span class="pre">display</span> : String<div class="sub-desc"><p>(optional) What to set display to when visible</p>
524 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
525 </li></ul></div></div></div><div id="method-fadeIn" class="member ni"><a href="Ext.core.Element.html#method-fadeIn" rel="method-fadeIn" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-fadeIn" class="viewSource">view source</a></div><a name="fadeIn"></a><a name="method-fadeIn"></a><a href="Ext.core.Element.html#" rel="method-fadeIn" class="cls expand">fadeIn</a>(
526 <span class="pre">[Object options]</span>)
527  : Ext.Element</div><div class="description"><div class="short">Fade an element in (from transparent to opaque).  The ending opacity can be specified
528 using the endOpacity config opt...</div><div class="long"><p>Fade an element in (from transparent to opaque).  The ending opacity can be specified
529 using the <tt><a href="Ext.core.Element.html#endOpacity" rel="Ext.core.Element#endOpacity" class="docClass">endOpacity</a></tt> config option.
530 Usage:</p>
531
532 <pre><code>// default: fade in from opacity 0 to 100%
533 el.fadeIn();
534
535 // custom: fade in from opacity 0 to 75% over 2 seconds
536 el.fadeIn({ endOpacity: .75, duration: 2});
537
538 // common config options shown with default values
539 el.fadeIn({
540     endOpacity: 1, //can be any value between 0 and 1 (e.g. .5)
541     easing: 'easeOut',
542     duration: 500
543 });
544 </code></pre>
545
546 <h3 class="pa">Parameters</h3><ul><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
547 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Element</span>&nbsp; &nbsp;<p>The Element</p>
548 </li></ul></div></div></div><div id="method-fadeOut" class="member ni"><a href="Ext.core.Element.html#method-fadeOut" rel="method-fadeOut" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-fadeOut" class="viewSource">view source</a></div><a name="fadeOut"></a><a name="method-fadeOut"></a><a href="Ext.core.Element.html#" rel="method-fadeOut" class="cls expand">fadeOut</a>(
549 <span class="pre">[Object options]</span>)
550  : Ext.Element</div><div class="description"><div class="short">Fade an element out (from opaque to transparent).  The ending opacity can be specified
551 using the endOpacity config op...</div><div class="long"><p>Fade an element out (from opaque to transparent).  The ending opacity can be specified
552 using the <tt><a href="Ext.core.Element.html#endOpacity" rel="Ext.core.Element#endOpacity" class="docClass">endOpacity</a></tt> config option.  Note that IE may require
553 <tt><a href="Ext.core.Element.html#useDisplay" rel="Ext.core.Element#useDisplay" class="docClass">useDisplay</a>:true</tt> in order to redisplay correctly.
554 Usage:</p>
555
556 <pre><code>// default: fade out from the element's current opacity to 0
557 el.fadeOut();
558
559 // custom: fade out from the element's current opacity to 25% over 2 seconds
560 el.fadeOut({ endOpacity: .25, duration: 2});
561
562 // common config options shown with default values
563 el.fadeOut({
564     endOpacity: 0, //can be any value between 0 and 1 (e.g. .5)
565     easing: 'easeOut',
566     duration: 500,
567     remove: false,
568     useDisplay: false
569 });
570 </code></pre>
571
572 <h3 class="pa">Parameters</h3><ul><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
573 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Element</span>&nbsp; &nbsp;<p>The Element</p>
574 </li></ul></div></div></div><div id="method-findParent" class="member ni"><a href="Ext.core.Element.html#method-findParent" rel="method-findParent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-findParent" class="viewSource">view source</a></div><a name="findParent"></a><a name="method-findParent"></a><a href="Ext.core.Element.html#" rel="method-findParent" class="cls expand">findParent</a>(
575 <span class="pre">String selector, [Number/Mixed maxDepth], [Boolean returnEl]</span>)
576  : HTMLElement</div><div class="description"><div class="short">Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:fi...</div><div class="long"><p>Looks at this node and then at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)</p>
577 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The simple selector to test</p>
578 </div></li><li><span class="pre">maxDepth</span> : Number/Mixed<div class="sub-desc"><p>(optional) The max depth to search as a number or element (defaults to 50 || document.body)</p>
579 </div></li><li><span class="pre">returnEl</span> : Boolean<div class="sub-desc"><p>(optional) True to return a <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> object instead of DOM node</p>
580 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>The matching DOM node (or null if no match was found)</p>
581 </li></ul></div></div></div><div id="method-findParentNode" class="member ni"><a href="Ext.core.Element.html#method-findParentNode" rel="method-findParentNode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-findParentNode" class="viewSource">view source</a></div><a name="findParentNode"></a><a name="method-findParentNode"></a><a href="Ext.core.Element.html#" rel="method-findParentNode" class="cls expand">findParentNode</a>(
582 <span class="pre">String selector, [Number/Mixed maxDepth], [Boolean returnEl]</span>)
583  : HTMLElement</div><div class="description"><div class="short"><p>Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)</p>
584 </div><div class="long"><p>Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)</p>
585 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The simple selector to test</p>
586 </div></li><li><span class="pre">maxDepth</span> : Number/Mixed<div class="sub-desc"><p>(optional) The max depth to</p>
587
588 <pre><code>        search as a number or element (defaults to 10 || document.body)
589 </code></pre>
590 </div></li><li><span class="pre">returnEl</span> : Boolean<div class="sub-desc"><p>(optional) True to return a <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> object instead of DOM node</p>
591 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement</span>&nbsp; &nbsp;<p>The matching DOM node (or null if no match was found)</p>
592 </li></ul></div></div></div><div id="method-first" class="member ni"><a href="Ext.core.Element.html#method-first" rel="method-first" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-first" class="viewSource">view source</a></div><a name="first"></a><a name="method-first"></a><a href="Ext.core.Element.html#" rel="method-first" class="cls expand">first</a>(
593 <span class="pre">[String selector], [Boolean returnDom]</span>)
594  : Ext.core.Element/HTMLElement</div><div class="description"><div class="short"><p>Gets the first child, skipping text nodes</p>
595 </div><div class="long"><p>Gets the first child, skipping text nodes</p>
596 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>(optional) Find the next sibling that matches the passed simple selector</p>
597 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return a raw dom node instead of an Ext.core.Element</p>
598 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element/HTMLElement</span>&nbsp; &nbsp;<p>The first child or null</p>
599 </li></ul></div></div></div><div id="method-fly" class="member ni"><a href="Ext.core.Element.html#method-fly" rel="method-fly" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-fly" class="viewSource">view source</a></div><a name="fly"></a><a name="method-fly"></a><a href="Ext.core.Element.html#" rel="method-fly" class="cls expand">fly</a>(
600 <span class="pre">String/HTMLElement el, [String named]</span>)
601  : Element</div><div class="description"><div class="short">Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to t...</div><div class="long"><p>Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -
602 the dom node can be overwritten by other code. Shorthand of <a href="Ext.core.Element.html#fly" rel="Ext.core.Element#fly" class="docClass">fly</a></p>
603
604
605 <p>Use this to make one-time references to DOM elements which are not going to be accessed again either by
606 application code, or by Ext's classes. If accessing an element which will be processed regularly, then <a href="Ext.html#get" rel="Ext#get" class="docClass">Ext.get</a>
607 will be more appropriate to take advantage of the caching provided by the <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> class.</p>
608
609 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : String/HTMLElement<div class="sub-desc"><p>The dom node or id</p>
610 </div></li><li><span class="pre">named</span> : String<div class="sub-desc"><p>(optional) Allows for creation of named reusable flyweights to prevent conflicts
611 (e.g. internally <a href="Ext.html" rel="Ext" class="docClass">Ext</a> uses "_global")</p>
612 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Element</span>&nbsp; &nbsp;<p>The shared Element object (or null if no matching element was found)</p>
613 </li></ul></div></div></div><div id="method-focus" class="member ni"><a href="Ext.core.Element.html#method-focus" rel="method-focus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-focus" class="viewSource">view source</a></div><a name="focus"></a><a name="method-focus"></a><a href="Ext.core.Element.html#" rel="method-focus" class="cls expand">focus</a>(
614 <span class="pre">[Number defer], Object dom</span>)
615  : Ext.core.Element</div><div class="description"><div class="short"><p>Tries to focus the element. Any exceptions are caught and ignored.</p>
616 </div><div class="long"><p>Tries to focus the element. Any exceptions are caught and ignored.</p>
617 <h3 class="pa">Parameters</h3><ul><li><span class="pre">defer</span> : Number<div class="sub-desc"><p>(optional) Milliseconds to defer the focus</p>
618 </div></li><li><span class="pre">dom</span> : Object<div class="sub-desc">
619 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
620 </li></ul></div></div></div><div id="method-frame" class="member ni"><a href="Ext.core.Element.html#method-frame" rel="method-frame" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-frame" class="viewSource">view source</a></div><a name="frame"></a><a name="method-frame"></a><a href="Ext.core.Element.html#" rel="method-frame" class="cls expand">frame</a>(
621 <span class="pre">[String color], [Number count], [Object options]</span>)
622  : Ext.core.Element</div><div class="description"><div class="short">Shows a ripple of exploding, attenuating borders to draw attention to an Element.
623 Usage:
624
625 // default: a single light ...</div><div class="long"><p>Shows a ripple of exploding, attenuating borders to draw attention to an Element.
626 Usage:</p>
627
628 <pre><code>// default: a single light blue ripple
629 el.frame();
630
631 // custom: 3 red ripples lasting 3 seconds total
632 el.frame("#ff0000", 3, { duration: 3 });
633
634 // common config options shown with default values
635 el.frame("#C3DAF9", 1, {
636     duration: 1 //duration of each individual ripple.
637     // Note: Easing is not configurable and will be ignored if included
638 });
639 </code></pre>
640
641 <h3 class="pa">Parameters</h3><ul><li><span class="pre">color</span> : String<div class="sub-desc"><p>(optional) The color of the border.  Should be a 6 char hex color without the leading # (defaults to light blue: 'C3DAF9').</p>
642 </div></li><li><span class="pre">count</span> : Number<div class="sub-desc"><p>(optional) The number of ripples to display (defaults to 1)</p>
643 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
644 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
645 </li></ul></div></div></div><div id="method-fromPoint" class="member ni"><a href="Ext.core.Element.html#method-fromPoint" rel="method-fromPoint" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-fromPoint" class="viewSource">view source</a></div><a name="fromPoint"></a><a name="method-fromPoint"></a><a href="Ext.core.Element.html#" rel="method-fromPoint" class="cls expand">fromPoint</a>(
646 <span class="pre">Number x, Number x</span>)
647  : String</div><div class="description"><div class="short"><p>Returns the top Element that is located at the passed coordinates</p>
648 </div><div class="long"><p>Returns the top Element that is located at the passed coordinates</p>
649 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The x coordinate</p>
650 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>The y coordinate</p>
651 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The found Element</p>
652 </li></ul></div></div></div><div id="method-get" class="member ni"><a href="Ext.core.Element.html#method-get" rel="method-get" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-get" class="viewSource">view source</a></div><a name="get"></a><a name="method-get"></a><a href="Ext.core.Element.html#" rel="method-get" class="cls expand">get</a>(
653 <span class="pre">Mixed el</span>)
654  : Element</div><div class="description"><div class="short">Retrieves Ext.core.Element objects.
655
656 This method does not retrieve Components. This method
657 retrieves Ext.core.Element...</div><div class="long"><p>Retrieves <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> objects.</p>
658
659 <p><b>This method does not retrieve <a href="Ext.Component.html" rel="Ext.Component" class="docClass">Component</a>s.</b> This method
660 retrieves <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> objects which encapsulate DOM elements. To retrieve a Component by
661 its ID, use <a href="Ext.ComponentManager.html#get" rel="Ext.ComponentManager#get" class="docClass">Ext.ComponentManager.get</a>.</p>
662
663
664 <p>Uses simple caching to consistently return the same object. Automatically fixes if an
665 object was recreated with the same id via AJAX or DOM.</p>
666
667 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The id of the node, a DOM Node or an existing Element.</p>
668 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Element</span>&nbsp; &nbsp;<p>The Element object (or null if no matching element was found)</p>
669 </li></ul></div></div></div><div id="method-getAlignToXY" class="member ni"><a href="Ext.core.Element.html#method-getAlignToXY" rel="method-getAlignToXY" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.alignment.html#Ext-core.Element-method-getAlignToXY" class="viewSource">view source</a></div><a name="getAlignToXY"></a><a name="method-getAlignToXY"></a><a href="Ext.core.Element.html#" rel="method-getAlignToXY" class="cls expand">getAlignToXY</a>(
670 <span class="pre">Mixed element, String position, [Array offsets]</span>)
671  : Array</div><div class="description"><div class="short">Gets the x,y coordinates to align this element with another element. See alignTo for more info on the
672 supported posit...</div><div class="long"><p>Gets the x,y coordinates to align this element with another element. See <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">alignTo</a> for more info on the
673 supported position values.</p>
674 <h3 class="pa">Parameters</h3><ul><li><span class="pre">element</span> : Mixed<div class="sub-desc"><p>The element to align to.</p>
675 </div></li><li><span class="pre">position</span> : String<div class="sub-desc"><p>(optional, defaults to "tl-bl?") The position to align to.</p>
676 </div></li><li><span class="pre">offsets</span> : Array<div class="sub-desc"><p>(optional) Offset the positioning by [x, y]</p>
677 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>[x, y]</p>
678 </li></ul></div></div></div><div id="method-getAnchorXY" class="member ni"><a href="Ext.core.Element.html#method-getAnchorXY" rel="method-getAnchorXY" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.alignment.html#Ext-core.Element-method-getAnchorXY" class="viewSource">view source</a></div><a name="getAnchorXY"></a><a name="method-getAnchorXY"></a><a href="Ext.core.Element.html#" rel="method-getAnchorXY" class="cls expand">getAnchorXY</a>(
679 <span class="pre">[String anchor], [Boolean local], [Object size]</span>)
680  : Array</div><div class="description"><div class="short"><p>Gets the x,y coordinates specified by the anchor position on the element.</p>
681 </div><div class="long"><p>Gets the x,y coordinates specified by the anchor position on the element.</p>
682 <h3 class="pa">Parameters</h3><ul><li><span class="pre">anchor</span> : String<div class="sub-desc"><p>(optional) The specified anchor position (defaults to "c").  See <a href="Ext.core.Element.html#alignTo" rel="Ext.core.Element#alignTo" class="docClass">alignTo</a>
683 for details on supported anchor positions.</p>
684 </div></li><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) True to get the local (element top/left-relative) anchor position instead
685 of page coordinates</p>
686 </div></li><li><span class="pre">size</span> : Object<div class="sub-desc"><p>(optional) An object containing the size to use for calculating anchor position
687 {width: (target width), height: (target height)} (defaults to the element's current size)</p>
688 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>[x, y] An array containing the element's x and y coordinates</p>
689 </li></ul></div></div></div><div id="method-getAttributeNS" class="member ni"><a href="Ext.core.Element.html#method-getAttributeNS" rel="method-getAttributeNS" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-getAttributeNS" class="viewSource">view source</a></div><a name="getAttributeNS"></a><a name="method-getAttributeNS"></a><a href="Ext.core.Element.html#" rel="method-getAttributeNS" class="cls expand">getAttributeNS</a>(
690 <span class="pre">String namespace, String name</span>)
691  : String</div><div class="description"><div class="short"><p>Returns the value of a namespaced attribute from the element's underlying DOM node.</p>
692 </div><div class="long"><p>Returns the value of a namespaced attribute from the element's underlying DOM node.</p>
693 <h3 class="pa">Parameters</h3><ul><li><span class="pre">namespace</span> : String<div class="sub-desc"><p>The namespace in which to look for the attribute</p>
694 </div></li><li><span class="pre">name</span> : String<div class="sub-desc"><p>The attribute name</p>
695 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The attribute value
696 @deprecated</p>
697 </li></ul></div></div></div><div id="method-getBorderWidth" class="member ni"><a href="Ext.core.Element.html#method-getBorderWidth" rel="method-getBorderWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getBorderWidth" class="viewSource">view source</a></div><a name="getBorderWidth"></a><a name="method-getBorderWidth"></a><a href="Ext.core.Element.html#" rel="method-getBorderWidth" class="cls expand">getBorderWidth</a>(
698 <span class="pre">String side</span>)
699  : Number</div><div class="description"><div class="short"><p>Gets the width of the border(s) for the specified side(s)</p>
700 </div><div class="long"><p>Gets the width of the border(s) for the specified side(s)</p>
701 <h3 class="pa">Parameters</h3><ul><li><span class="pre">side</span> : String<div class="sub-desc"><p>Can be t, l, r, b or any combination of those to add multiple values. For example,
702 passing <tt>'lr'</tt> would get the border <b><u>l</u></b>eft width + the border <b><u>r</u></b>ight width.</p>
703 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The width of the sides passed added together</p>
704 </li></ul></div></div></div><div id="method-getBottom" class="member ni"><a href="Ext.core.Element.html#method-getBottom" rel="method-getBottom" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getBottom" class="viewSource">view source</a></div><a name="getBottom"></a><a name="method-getBottom"></a><a href="Ext.core.Element.html#" rel="method-getBottom" class="cls expand">getBottom</a>(
705 <span class="pre">Boolean local</span>)
706  : Number</div><div class="description"><div class="short"><p>Gets the bottom Y coordinate of the element (element Y position + element height)</p>
707 </div><div class="long"><p>Gets the bottom Y coordinate of the element (element Y position + element height)</p>
708 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>True to get the local css position instead of page coordinate</p>
709 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
710 </li></ul></div></div></div><div id="method-getBox" class="member ni"><a href="Ext.core.Element.html#method-getBox" rel="method-getBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getBox" class="viewSource">view source</a></div><a name="getBox"></a><a name="method-getBox"></a><a href="Ext.core.Element.html#" rel="method-getBox" class="cls expand">getBox</a>(
711 <span class="pre">[Boolean contentBox], [Boolean local]</span>)
712  : Object</div><div class="description"><div class="short">Return an object defining the area of this Element which can be passed to setBox to
713 set another Element's size/locati...</div><div class="long"><p>Return an object defining the area of this Element which can be passed to <a href="Ext.core.Element.html#setBox" rel="Ext.core.Element#setBox" class="docClass">setBox</a> to
714 set another Element's size/location to match this element.</p>
715 <h3 class="pa">Parameters</h3><ul><li><span class="pre">contentBox</span> : Boolean<div class="sub-desc"><p>(optional) If true a box for the content of the element is returned.</p>
716 </div></li><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>(optional) If true the element's left and top are returned instead of page x/y.</p>
717 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>box An object in the format</p>
718
719 <pre><code>{
720     x: &lt;Element's X position>,
721     y: &lt;Element's Y position>,
722     width: &lt;Element's width>,
723     height: &lt;Element's height>,
724     bottom: &lt;Element's lower bound>,
725     right: &lt;Element's rightmost bound>
726 }
727 </code></pre>
728
729
730 <p>The returned object may also be addressed as an Array where index 0 contains the X position
731 and index 1 contains the Y position. So the result may also be used for <a href="Ext.core.Element.html#setXY" rel="Ext.core.Element#setXY" class="docClass">setXY</a></p>
732 </li></ul></div></div></div><div id="method-getCenterXY" class="member ni"><a href="Ext.core.Element.html#method-getCenterXY" rel="method-getCenterXY" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.alignment.html#Ext-core.Element-method-getCenterXY" class="viewSource">view source</a></div><a name="getCenterXY"></a><a name="method-getCenterXY"></a><a href="Ext.core.Element.html#" rel="method-getCenterXY" class="cls expand">getCenterXY</a> : Array</div><div class="description"><div class="short"><p>Calculates the x, y to center this element on the screen</p>
733 </div><div class="long"><p>Calculates the x, y to center this element on the screen</p>
734 <h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The x, y values [x, y]</p>
735 </li></ul></div></div></div><div id="method-getColor" class="member ni"><a href="Ext.core.Element.html#method-getColor" rel="method-getColor" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getColor" class="viewSource">view source</a></div><a name="getColor"></a><a name="method-getColor"></a><a href="Ext.core.Element.html#" rel="method-getColor" class="cls expand">getColor</a>(
736 <span class="pre">String attr, String defaultValue, [String prefix]</span>)
737  : void</div><div class="description"><div class="short">Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
738 are convert to standa...</div><div class="long"><p>Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
739 are convert to standard 6 digit hex color.</p>
740 <h3 class="pa">Parameters</h3><ul><li><span class="pre">attr</span> : String<div class="sub-desc"><p>The css attribute</p>
741 </div></li><li><span class="pre">defaultValue</span> : String<div class="sub-desc"><p>The default value to use when a valid color isn't found</p>
742 </div></li><li><span class="pre">prefix</span> : String<div class="sub-desc"><p>(optional) defaults to #. Use an empty string when working with
743 color anims.</p>
744 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
745 </li></ul></div></div></div><div id="method-getComputedHeight" class="member ni"><a href="Ext.core.Element.html#method-getComputedHeight" rel="method-getComputedHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getComputedHeight" class="viewSource">view source</a></div><a name="getComputedHeight"></a><a name="method-getComputedHeight"></a><a href="Ext.core.Element.html#" rel="method-getComputedHeight" class="cls expand">getComputedHeight</a> : Number</div><div class="description"><div class="short">Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
746 when...</div><div class="long"><p>Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
747 when needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements
748 if a height has not been set using CSS.</p>
749 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
750 </li></ul></div></div></div><div id="method-getComputedWidth" class="member ni"><a href="Ext.core.Element.html#method-getComputedWidth" rel="method-getComputedWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getComputedWidth" class="viewSource">view source</a></div><a name="getComputedWidth"></a><a name="method-getComputedWidth"></a><a href="Ext.core.Element.html#" rel="method-getComputedWidth" class="cls expand">getComputedWidth</a> : Number</div><div class="description"><div class="short">Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
751 when ne...</div><div class="long"><p>Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
752 when needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements
753 if a width has not been set using CSS.</p>
754 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
755 </li></ul></div></div></div><div id="method-getConstrainVector" class="member ni"><a href="Ext.core.Element.html#method-getConstrainVector" rel="method-getConstrainVector" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.alignment.html#Ext-core.Element-method-getConstrainVector" class="viewSource">view source</a></div><a name="getConstrainVector"></a><a name="method-getConstrainVector"></a><a href="Ext.core.Element.html#" rel="method-getConstrainVector" class="cls expand">getConstrainVector</a>(
756 <span class="pre">Object constrainTo, Object proposedPosition</span>)
757  : Array</div><div class="description"><div class="short">Returns the [X, Y] vector by which this element must be translated to make a best attempt
758 to constrain within the pas...</div><div class="long"><p>Returns the <code>[X, Y]</code> vector by which this element must be translated to make a best attempt
759 to constrain within the passed constraint. Returns <code>false</code> is this element does not need to be moved.</p>
760
761
762 <p>Priority is given to constraining the top and left within the constraint.</p>
763
764
765 <p>The constraint may either be an existing element into which this element is to be constrained, or
766 an <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Region</a> into which this element is to be constrained.</p>
767
768 <h3 class="pa">Parameters</h3><ul><li><span class="pre">constrainTo</span> : Object<div class="sub-desc"><p>{Mixed} The Element or <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Region</a> into which this element is to be constrained.</p>
769 </div></li><li><span class="pre">proposedPosition</span> : Object<div class="sub-desc"><p>{Array} A proposed <code>[X, Y]</code> position to test for validity and to produce a vector for instead
770 of using this Element's current position;</p>
771 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p><b>If</b> this element <i>needs</i> to be translated, an <code>[X, Y]</code>
772 vector by which this element must be translated. Otherwise, <code>false</code>.</p>
773 </li></ul></div></div></div><div id="method-getDocumentHeight" class="member ni"><a href="Ext.core.Element.html#method-getDocumentHeight" rel="method-getDocumentHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-getDocumentHeight" class="viewSource">view source</a></div><a name="getDocumentHeight"></a><a name="method-getDocumentHeight"></a><a href="Ext.core.Element.html#" rel="method-getDocumentHeight" class="cls expand">getDocumentHeight</a> : Number</div><div class="description"><div class="short"><p>Retrieves the document height</p>
774 </div><div class="long"><p>Retrieves the document height</p>
775 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>documentHeight</p>
776 </li></ul></div></div></div><div id="method-getDocumentWidth" class="member ni"><a href="Ext.core.Element.html#method-getDocumentWidth" rel="method-getDocumentWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-getDocumentWidth" class="viewSource">view source</a></div><a name="getDocumentWidth"></a><a name="method-getDocumentWidth"></a><a href="Ext.core.Element.html#" rel="method-getDocumentWidth" class="cls expand">getDocumentWidth</a> : Number</div><div class="description"><div class="short"><p>Retrieves the document width</p>
777 </div><div class="long"><p>Retrieves the document width</p>
778 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>documentWidth</p>
779 </li></ul></div></div></div><div id="method-getFrameWidth" class="member ni"><a href="Ext.core.Element.html#method-getFrameWidth" rel="method-getFrameWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getFrameWidth" class="viewSource">view source</a></div><a name="getFrameWidth"></a><a name="method-getFrameWidth"></a><a href="Ext.core.Element.html#" rel="method-getFrameWidth" class="cls expand">getFrameWidth</a>(
780 <span class="pre">String sides, Object onlyContentBox</span>)
781  : Number</div><div class="description"><div class="short">Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()
782
783      for more informat...</div><div class="long"><p>Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()</p>
784
785 <pre><code>     for more information about the sides.
786 </code></pre>
787 <h3 class="pa">Parameters</h3><ul><li><span class="pre">sides</span> : String<div class="sub-desc">
788 </div></li><li><span class="pre">onlyContentBox</span> : Object<div class="sub-desc">
789 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
790 </li></ul></div></div></div><div id="method-getHeight" class="member ni"><a href="Ext.core.Element.html#method-getHeight" rel="method-getHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getHeight" class="viewSource">view source</a></div><a name="getHeight"></a><a name="method-getHeight"></a><a href="Ext.core.Element.html#" rel="method-getHeight" class="cls expand">getHeight</a>(
791 <span class="pre">[Boolean contentHeight], Object preciseHeight</span>)
792  : Number</div><div class="description"><div class="short"><p>Returns the offset height of the element</p>
793 </div><div class="long"><p>Returns the offset height of the element</p>
794 <h3 class="pa">Parameters</h3><ul><li><span class="pre">contentHeight</span> : Boolean<div class="sub-desc"><p>(optional) true to get the height minus borders and padding</p>
795 </div></li><li><span class="pre">preciseHeight</span> : Object<div class="sub-desc">
796 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The element's height</p>
797 </li></ul></div></div></div><div id="method-getLeft" class="member ni"><a href="Ext.core.Element.html#method-getLeft" rel="method-getLeft" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getLeft" class="viewSource">view source</a></div><a name="getLeft"></a><a name="method-getLeft"></a><a href="Ext.core.Element.html#" rel="method-getLeft" class="cls expand">getLeft</a>(
798 <span class="pre">Boolean local</span>)
799  : Number</div><div class="description"><div class="short"><p>Gets the left X coordinate</p>
800 </div><div class="long"><p>Gets the left X coordinate</p>
801 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>True to get the local css position instead of page coordinate</p>
802 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
803 </li></ul></div></div></div><div id="method-getLoader" class="member ni"><a href="Ext.core.Element.html#method-getLoader" rel="method-getLoader" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element-more.html#Ext-core.Element-method-getLoader" class="viewSource">view source</a></div><a name="getLoader"></a><a name="method-getLoader"></a><a href="Ext.core.Element.html#" rel="method-getLoader" class="cls expand">getLoader</a> : Ext.ElementLoader</div><div class="description"><div class="short"><p>Gets this element's <a href="Ext.ElementLoader.html" rel="Ext.ElementLoader" class="docClass">ElementLoader</a></p>
804 </div><div class="long"><p>Gets this element's <a href="Ext.ElementLoader.html" rel="Ext.ElementLoader" class="docClass">ElementLoader</a></p>
805 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.ElementLoader</span>&nbsp; &nbsp;<p>The loader</p>
806 </li></ul></div></div></div><div id="method-getMargin" class="member ni"><a href="Ext.core.Element.html#method-getMargin" rel="method-getMargin" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getMargin" class="viewSource">view source</a></div><a name="getMargin"></a><a name="method-getMargin"></a><a href="Ext.core.Element.html#" rel="method-getMargin" class="cls expand">getMargin</a>(
807 <span class="pre">[String sides]</span>)
808  : Object/Number</div><div class="description"><div class="short">Returns an object with properties top, left, right and bottom representing the margins of this element unless sides i...</div><div class="long"><p>Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,
809 then it returns the calculated width of the sides (see getPadding)</p>
810 <h3 class="pa">Parameters</h3><ul><li><span class="pre">sides</span> : String<div class="sub-desc"><p>(optional) Any combination of l, r, t, b to get the sum of those sides</p>
811 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object/Number</span>&nbsp; &nbsp;
812 </li></ul></div></div></div><div id="method-getOffsetsTo" class="member ni"><a href="Ext.core.Element.html#method-getOffsetsTo" rel="method-getOffsetsTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getOffsetsTo" class="viewSource">view source</a></div><a name="getOffsetsTo"></a><a name="method-getOffsetsTo"></a><a href="Ext.core.Element.html#" rel="method-getOffsetsTo" class="cls expand">getOffsetsTo</a>(
813 <span class="pre">Mixed element</span>)
814  : Array</div><div class="description"><div class="short">Returns the offsets of this element from the passed element. Both element must be part of the DOM tree and not have d...</div><div class="long"><p>Returns the offsets of this element from the passed element. Both element must be part of the DOM tree and not have display:none to have page coordinates.</p>
815 <h3 class="pa">Parameters</h3><ul><li><span class="pre">element</span> : Mixed<div class="sub-desc"><p>The element to get the offsets from.</p>
816 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The XY page offsets (e.g. [100, -200])</p>
817 </li></ul></div></div></div><div id="method-getOrientation" class="member ni"><a href="Ext.core.Element.html#method-getOrientation" rel="method-getOrientation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-getOrientation" class="viewSource">view source</a></div><a name="getOrientation"></a><a name="method-getOrientation"></a><a href="Ext.core.Element.html#" rel="method-getOrientation" class="cls expand">getOrientation</a> : String</div><div class="description"><div class="short">Retrieves the current orientation of the window. This is calculated by
818 determing if the height is greater than the wi...</div><div class="long"><p>Retrieves the current orientation of the window. This is calculated by
819 determing if the height is greater than the width.</p>
820 <h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>Orientation of window: 'portrait' or 'landscape'</p>
821 </li></ul></div></div></div><div id="method-getPadding" class="member ni"><a href="Ext.core.Element.html#method-getPadding" rel="method-getPadding" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getPadding" class="viewSource">view source</a></div><a name="getPadding"></a><a name="method-getPadding"></a><a href="Ext.core.Element.html#" rel="method-getPadding" class="cls expand">getPadding</a>(
822 <span class="pre">String side</span>)
823  : Number</div><div class="description"><div class="short"><p>Gets the width of the padding(s) for the specified side(s)</p>
824 </div><div class="long"><p>Gets the width of the padding(s) for the specified side(s)</p>
825 <h3 class="pa">Parameters</h3><ul><li><span class="pre">side</span> : String<div class="sub-desc"><p>Can be t, l, r, b or any combination of those to add multiple values. For example,
826 passing <tt>'lr'</tt> would get the padding <b><u>l</u></b>eft + the padding <b><u>r</u></b>ight.</p>
827 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The padding of the sides passed added together</p>
828 </li></ul></div></div></div><div id="method-getPageBox" class="member ni"><a href="Ext.core.Element.html#method-getPageBox" rel="method-getPageBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getPageBox" class="viewSource">view source</a></div><a name="getPageBox"></a><a name="method-getPageBox"></a><a href="Ext.core.Element.html#" rel="method-getPageBox" class="cls expand">getPageBox</a>(
829 <span class="pre">[Boolean asRegion]</span>)
830  : Object</div><div class="description"><div class="short">Return an object defining the area of this Element which can be passed to setBox to
831 set another Element's size/locati...</div><div class="long"><p>Return an object defining the area of this Element which can be passed to <a href="Ext.core.Element.html#setBox" rel="Ext.core.Element#setBox" class="docClass">setBox</a> to
832 set another Element's size/location to match this element.</p>
833 <h3 class="pa">Parameters</h3><ul><li><span class="pre">asRegion</span> : Boolean<div class="sub-desc"><p>(optional) If true an <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Ext.util.Region</a> will be returned</p>
834 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>box An object in the format</p>
835
836 <pre><code>{
837     x: &lt;Element's X position>,
838     y: &lt;Element's Y position>,
839     width: &lt;Element's width>,
840     height: &lt;Element's height>,
841     bottom: &lt;Element's lower bound>,
842     right: &lt;Element's rightmost bound>
843 }
844 </code></pre>
845
846
847 <p>The returned object may also be addressed as an Array where index 0 contains the X position
848 and index 1 contains the Y position. So the result may also be used for <a href="Ext.core.Element.html#setXY" rel="Ext.core.Element#setXY" class="docClass">setXY</a></p>
849 </li></ul></div></div></div><div id="method-getPositioning" class="member ni"><a href="Ext.core.Element.html#method-getPositioning" rel="method-getPositioning" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getPositioning" class="viewSource">view source</a></div><a name="getPositioning"></a><a name="method-getPositioning"></a><a href="Ext.core.Element.html#" rel="method-getPositioning" class="cls expand">getPositioning</a> : Object</div><div class="description"><div class="short">Gets an object with all CSS positioning properties. Useful along with setPostioning to get
850 snapshot before performing...</div><div class="long"><p>Gets an object with all CSS positioning properties. Useful along with setPostioning to get
851 snapshot before performing an update and then restoring the element.</p>
852 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;
853 </li></ul></div></div></div><div id="method-getRegion" class="member ni"><a href="Ext.core.Element.html#method-getRegion" rel="method-getRegion" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getRegion" class="viewSource">view source</a></div><a name="getRegion"></a><a name="method-getRegion"></a><a href="Ext.core.Element.html#" rel="method-getRegion" class="cls expand">getRegion</a> : Region</div><div class="description"><div class="short">Returns the region of this element.
854 The element must be part of the DOM tree to have a region (display:none or elemen...</div><div class="long"><p>Returns the region of this element.
855 The element must be part of the DOM tree to have a region (display:none or elements not appended return false).</p>
856 <h3 class="pa">Returns</h3><ul><li><span class="pre">Region</span>&nbsp; &nbsp;<p>A <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Ext.util.Region</a> containing "top, left, bottom, right" member data.</p>
857 </li></ul></div></div></div><div id="method-getRight" class="member ni"><a href="Ext.core.Element.html#method-getRight" rel="method-getRight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getRight" class="viewSource">view source</a></div><a name="getRight"></a><a name="method-getRight"></a><a href="Ext.core.Element.html#" rel="method-getRight" class="cls expand">getRight</a>(
858 <span class="pre">Boolean local</span>)
859  : Number</div><div class="description"><div class="short"><p>Gets the right X coordinate of the element (element X position + element width)</p>
860 </div><div class="long"><p>Gets the right X coordinate of the element (element X position + element width)</p>
861 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>True to get the local css position instead of page coordinate</p>
862 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
863 </li></ul></div></div></div><div id="method-getScroll" class="member ni"><a href="Ext.core.Element.html#method-getScroll" rel="method-getScroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.scroll.html#Ext-core.Element-method-getScroll" class="viewSource">view source</a></div><a name="getScroll"></a><a name="method-getScroll"></a><a href="Ext.core.Element.html#" rel="method-getScroll" class="cls expand">getScroll</a> : Object</div><div class="description"><div class="short"><p>Returns the current scroll position of the element.</p>
864 </div><div class="long"><p>Returns the current scroll position of the element.</p>
865 <h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}</p>
866 </li></ul></div></div></div><div id="method-getSize" class="member ni"><a href="Ext.core.Element.html#method-getSize" rel="method-getSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getSize" class="viewSource">view source</a></div><a name="getSize"></a><a name="method-getSize"></a><a href="Ext.core.Element.html#" rel="method-getSize" class="cls expand">getSize</a>(
867 <span class="pre">[Boolean contentSize]</span>)
868  : Object</div><div class="description"><div class="short"><p>Returns the size of the element.</p>
869 </div><div class="long"><p>Returns the size of the element.</p>
870 <h3 class="pa">Parameters</h3><ul><li><span class="pre">contentSize</span> : Boolean<div class="sub-desc"><p>(optional) true to get the width/size minus borders and padding</p>
871 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object containing the element's size {width: (element width), height: (element height)}</p>
872 </li></ul></div></div></div><div id="method-getStyle" class="member ni"><a href="Ext.core.Element.html#method-getStyle" rel="method-getStyle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getStyle" class="viewSource">view source</a></div><a name="getStyle"></a><a name="method-getStyle"></a><a href="Ext.core.Element.html#" rel="method-getStyle" class="cls expand">getStyle</a>(
873 <span class="pre">String property</span>)
874  : String</div><div class="description"><div class="short"><p>Normalizes currentStyle and computedStyle.</p>
875 </div><div class="long"><p>Normalizes currentStyle and computedStyle.</p>
876 <h3 class="pa">Parameters</h3><ul><li><span class="pre">property</span> : String<div class="sub-desc"><p>The style property whose value is returned.</p>
877 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The current value of the style property for this element.</p>
878 </li></ul></div></div></div><div id="method-getStyleSize" class="member ni"><a href="Ext.core.Element.html#method-getStyleSize" rel="method-getStyleSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getStyleSize" class="viewSource">view source</a></div><a name="getStyleSize"></a><a name="method-getStyleSize"></a><a href="Ext.core.Element.html#" rel="method-getStyleSize" class="cls expand">getStyleSize</a> : void</div><div class="description"><div class="short">Returns the dimensions of the element available to lay content out in.
879
880 getStyleSize utilizes prefers style sizing if...</div><div class="long"><p>Returns the dimensions of the element available to lay content out in.<p>
881
882 getStyleSize utilizes prefers style sizing if present, otherwise it chooses the larger of offsetHeight/clientHeight and offsetWidth/clientWidth.
883 To obtain the size excluding scrollbars, use getViewSize
884
885 Sizing of the document body is handled at the adapter level which handles special cases for IE and strict modes, etc.
886
887 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
888 </li></ul></div></div></div><div id="method-getStyles" class="member ni"><a href="Ext.core.Element.html#method-getStyles" rel="method-getStyles" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getStyles" class="viewSource">view source</a></div><a name="getStyles"></a><a name="method-getStyles"></a><a href="Ext.core.Element.html#" rel="method-getStyles" class="cls expand">getStyles</a>(
889 <span class="pre">String style1, String style2, String etc</span>)
890  : Object</div><div class="description"><div class="short">Returns an object with properties matching the styles requested.
891 For example, el.getStyles('color', 'font-size', 'wid...</div><div class="long"><p>Returns an object with properties matching the styles requested.
892 For example, el.getStyles('color', 'font-size', 'width') might return
893 {'color': '#FFFFFF', 'font-size': '13px', 'width': '100px'}.</p>
894 <h3 class="pa">Parameters</h3><ul><li><span class="pre">style1</span> : String<div class="sub-desc"><p>A style name</p>
895 </div></li><li><span class="pre">style2</span> : String<div class="sub-desc"><p>A style name</p>
896 </div></li><li><span class="pre">etc</span> : String<div class="sub-desc"><p>.</p>
897 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The style object</p>
898 </li></ul></div></div></div><div id="method-getTextWidth" class="member ni"><a href="Ext.core.Element.html#method-getTextWidth" rel="method-getTextWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/TextMetrics.html#Ext-core.Element-method-getTextWidth" class="viewSource">view source</a></div><a name="getTextWidth"></a><a name="method-getTextWidth"></a><a href="Ext.core.Element.html#" rel="method-getTextWidth" class="cls expand">getTextWidth</a>(
899 <span class="pre">String text, Number min, Number max</span>)
900  : Number</div><div class="description"><div class="short"><p>Returns the width in pixels of the passed text, or the width of the text in this Element. getTextWidth</p>
901 </div><div class="long"><p>Returns the width in pixels of the passed text, or the width of the text in this Element. getTextWidth</p>
902 <h3 class="pa">Parameters</h3><ul><li><span class="pre">text</span> : String<div class="sub-desc"><p>The text to measure. Defaults to the innerHTML of the element.</p>
903 </div></li><li><span class="pre">min</span> : Number<div class="sub-desc"><p>(Optional) The minumum value to return.</p>
904 </div></li><li><span class="pre">max</span> : Number<div class="sub-desc"><p>(Optional) The maximum value to return.</p>
905 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The text width in pixels.</p>
906 </li></ul></div></div></div><div id="method-getTop" class="member ni"><a href="Ext.core.Element.html#method-getTop" rel="method-getTop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getTop" class="viewSource">view source</a></div><a name="getTop"></a><a name="method-getTop"></a><a href="Ext.core.Element.html#" rel="method-getTop" class="cls expand">getTop</a>(
907 <span class="pre">Boolean local</span>)
908  : Number</div><div class="description"><div class="short"><p>Gets the top Y coordinate</p>
909 </div><div class="long"><p>Gets the top Y coordinate</p>
910 <h3 class="pa">Parameters</h3><ul><li><span class="pre">local</span> : Boolean<div class="sub-desc"><p>True to get the local css position instead of page coordinate</p>
911 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;
912 </li></ul></div></div></div><div id="method-getValue" class="member ni"><a href="Ext.core.Element.html#method-getValue" rel="method-getValue" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-getValue" class="viewSource">view source</a></div><a name="getValue"></a><a name="method-getValue"></a><a href="Ext.core.Element.html#" rel="method-getValue" class="cls expand">getValue</a>(
913 <span class="pre">Boolean asNumber</span>)
914  : String/Number</div><div class="description"><div class="short"><p>Returns the value of the "value" attribute</p>
915 </div><div class="long"><p>Returns the value of the "value" attribute</p>
916 <h3 class="pa">Parameters</h3><ul><li><span class="pre">asNumber</span> : Boolean<div class="sub-desc"><p>true to parse the value as a number</p>
917 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String/Number</span>&nbsp; &nbsp;
918 </li></ul></div></div></div><div id="method-getViewRegion" class="member ni"><a href="Ext.core.Element.html#method-getViewRegion" rel="method-getViewRegion" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getViewRegion" class="viewSource">view source</a></div><a name="getViewRegion"></a><a name="method-getViewRegion"></a><a href="Ext.core.Element.html#" rel="method-getViewRegion" class="cls expand">getViewRegion</a> : Region</div><div class="description"><div class="short"><p>Returns the <b>content</b> region of this element. That is the region within the borders and padding.</p>
919 </div><div class="long"><p>Returns the <b>content</b> region of this element. That is the region within the borders and padding.</p>
920 <h3 class="pa">Returns</h3><ul><li><span class="pre">Region</span>&nbsp; &nbsp;<p>A <a href="Ext.util.Region.html" rel="Ext.util.Region" class="docClass">Ext.util.Region</a> containing "top, left, bottom, right" member data.</p>
921 </li></ul></div></div></div><div id="method-getViewSize" class="member ni"><a href="Ext.core.Element.html#method-getViewSize" rel="method-getViewSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getViewSize" class="viewSource">view source</a></div><a name="getViewSize"></a><a name="method-getViewSize"></a><a href="Ext.core.Element.html#" rel="method-getViewSize" class="cls expand">getViewSize</a> : void</div><div class="description"><div class="short">Returns the dimensions of the element available to lay content out in.
922 If the element (or any ancestor element) has C...</div><div class="long"><p>Returns the dimensions of the element available to lay content out in.<p>
923 <p>If the element (or any ancestor element) has CSS style <code>display : none</code>, the dimensions will be zero.</p>
924 example:
925 <pre><code>        var vpSize = Ext.getBody().getViewSize();
926
927         // all Windows created afterwards will have a default value of 90% height and 95% width
928         Ext.Window.override({
929             width: vpSize.width * 0.9,
930             height: vpSize.height * 0.95
931         });
932         // To handle window resizing you would have to hook onto onWindowResize.
933 </code></pre>
934
935 getViewSize utilizes clientHeight/clientWidth which excludes sizing of scrollbars.
936 To obtain the size including scrollbars, use getStyleSize
937
938 Sizing of the document body is handled at the adapter level which handles special cases for IE and strict modes, etc.
939
940 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
941 </li></ul></div></div></div><div id="method-getViewportHeight" class="member ni"><a href="Ext.core.Element.html#method-getViewportHeight" rel="method-getViewportHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-getViewportHeight" class="viewSource">view source</a></div><a name="getViewportHeight"></a><a name="method-getViewportHeight"></a><a href="Ext.core.Element.html#" rel="method-getViewportHeight" class="cls expand">getViewportHeight</a> : Number</div><div class="description"><div class="short"><p>Retrieves the viewport height of the window.</p>
942 </div><div class="long"><p>Retrieves the viewport height of the window.</p>
943 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>viewportHeight</p>
944 </li></ul></div></div></div><div id="method-getViewportWidth" class="member ni"><a href="Ext.core.Element.html#method-getViewportWidth" rel="method-getViewportWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-getViewportWidth" class="viewSource">view source</a></div><a name="getViewportWidth"></a><a name="method-getViewportWidth"></a><a href="Ext.core.Element.html#" rel="method-getViewportWidth" class="cls expand">getViewportWidth</a> : Number</div><div class="description"><div class="short"><p>Retrieves the viewport width of the window.</p>
945 </div><div class="long"><p>Retrieves the viewport width of the window.</p>
946 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>viewportWidth</p>
947 </li></ul></div></div></div><div id="method-getWidth" class="member ni"><a href="Ext.core.Element.html#method-getWidth" rel="method-getWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-getWidth" class="viewSource">view source</a></div><a name="getWidth"></a><a name="method-getWidth"></a><a href="Ext.core.Element.html#" rel="method-getWidth" class="cls expand">getWidth</a>(
948 <span class="pre">[Boolean contentWidth], Object preciseWidth</span>)
949  : Number</div><div class="description"><div class="short"><p>Returns the offset width of the element</p>
950 </div><div class="long"><p>Returns the offset width of the element</p>
951 <h3 class="pa">Parameters</h3><ul><li><span class="pre">contentWidth</span> : Boolean<div class="sub-desc"><p>(optional) true to get the width minus borders and padding</p>
952 </div></li><li><span class="pre">preciseWidth</span> : Object<div class="sub-desc">
953 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The element's width</p>
954 </li></ul></div></div></div><div id="method-getX" class="member ni"><a href="Ext.core.Element.html#method-getX" rel="method-getX" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getX" class="viewSource">view source</a></div><a name="getX"></a><a name="method-getX"></a><a href="Ext.core.Element.html#" rel="method-getX" class="cls expand">getX</a> : Number</div><div class="description"><div class="short">Gets the current X position of the element based on page coordinates.  Element must be part of the DOM tree to have p...</div><div class="long"><p>Gets the current X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).</p>
955 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The X position of the element</p>
956 </li></ul></div></div></div><div id="method-getXY" class="member ni"><a href="Ext.core.Element.html#method-getXY" rel="method-getXY" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getXY" class="viewSource">view source</a></div><a name="getXY"></a><a name="method-getXY"></a><a href="Ext.core.Element.html#" rel="method-getXY" class="cls expand">getXY</a> : Array</div><div class="description"><div class="short">Gets the current position of the element based on page coordinates.  Element must be part of the DOM tree to have pag...</div><div class="long"><p>Gets the current position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).</p>
957 <h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>The XY position of the element</p>
958 </li></ul></div></div></div><div id="method-getY" class="member ni"><a href="Ext.core.Element.html#method-getY" rel="method-getY" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-getY" class="viewSource">view source</a></div><a name="getY"></a><a name="method-getY"></a><a href="Ext.core.Element.html#" rel="method-getY" class="cls expand">getY</a> : Number</div><div class="description"><div class="short">Gets the current Y position of the element based on page coordinates.  Element must be part of the DOM tree to have p...</div><div class="long"><p>Gets the current Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).</p>
959 <h3 class="pa">Returns</h3><ul><li><span class="pre">Number</span>&nbsp; &nbsp;<p>The Y position of the element</p>
960 </li></ul></div></div></div><div id="method-ghost" class="member ni"><a href="Ext.core.Element.html#method-ghost" rel="method-ghost" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-ghost" class="viewSource">view source</a></div><a name="ghost"></a><a name="method-ghost"></a><a href="Ext.core.Element.html#" rel="method-ghost" class="cls expand">ghost</a>(
961 <span class="pre">[String anchor], [Object options]</span>)
962  : Ext.core.Element</div><div class="description"><div class="short">Slides the element while fading it out of view.  An anchor point can be optionally passed to set the
963 ending point of ...</div><div class="long"><p>Slides the element while fading it out of view.  An anchor point can be optionally passed to set the
964 ending point of the effect.
965 Usage:</p>
966
967 <pre><code>// default: slide the element downward while fading out
968 el.ghost();
969
970 // custom: slide the element out to the right with a 2-second duration
971 el.ghost('r', { duration: 2 });
972
973 // common config options shown with default values
974 el.ghost('b', {
975     easing: 'easeOut',
976     duration: 500
977 });
978 </code></pre>
979
980 <h3 class="pa">Parameters</h3><ul><li><span class="pre">anchor</span> : String<div class="sub-desc"><p>(optional) One of the valid Fx anchor positions (defaults to bottom: 'b')</p>
981 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
982 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
983 </li></ul></div></div></div><div id="method-hide" class="member ni"><a href="Ext.core.Element.html#method-hide" rel="method-hide" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-method-hide" class="viewSource">view source</a></div><a name="hide"></a><a name="method-hide"></a><a href="Ext.core.Element.html#" rel="method-hide" class="cls expand">hide</a>(
984 <span class="pre">[Boolean/Object animate]</span>)
985  : Ext.core.Element</div><div class="description"><div class="short"><p>Hide this element - Uses display mode to determine whether to use "display" or "visibility". See <a href="Ext.core.Element.html#setVisible" rel="Ext.core.Element#setVisible" class="docClass">setVisible</a>.</p>
986 </div><div class="long"><p>Hide this element - Uses display mode to determine whether to use "display" or "visibility". See <a href="Ext.core.Element.html#setVisible" rel="Ext.core.Element#setVisible" class="docClass">setVisible</a>.</p>
987 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
988 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
989 </li></ul></div></div></div><div id="method-highlight" class="member ni"><a href="Ext.core.Element.html#method-highlight" rel="method-highlight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-highlight" class="viewSource">view source</a></div><a name="highlight"></a><a name="method-highlight"></a><a href="Ext.core.Element.html#" rel="method-highlight" class="cls expand">highlight</a>(
990 <span class="pre">[String color], [Object options]</span>)
991  : Ext.core.Element</div><div class="description"><div class="short">Highlights the Element by setting a color (applies to the background-color by default, but can be
992 changed using the "...</div><div class="long"><p>Highlights the Element by setting a color (applies to the background-color by default, but can be
993 changed using the "attr" config option) and then fading back to the original color. If no original
994 color is available, you should provide the "endColor" config option which will be cleared after the animation.
995 Usage:</p>
996
997 <pre><code>// default: highlight background to yellow
998 el.highlight();
999
1000 // custom: highlight foreground text to blue for 2 seconds
1001 el.highlight("0000ff", { attr: 'color', duration: 2 });
1002
1003 // common config options shown with default values
1004 el.highlight("ffff9c", {
1005     attr: "backgroundColor", //can be any valid CSS property (attribute) that supports a color value
1006     endColor: (current color) or "ffffff",
1007     easing: 'easeIn',
1008     duration: 1000
1009 });
1010 </code></pre>
1011
1012 <h3 class="pa">Parameters</h3><ul><li><span class="pre">color</span> : String<div class="sub-desc"><p>(optional) The highlight color. Should be a 6 char hex color without the leading # (defaults to yellow: 'ffff9c')</p>
1013 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
1014 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1015 </li></ul></div></div></div><div id="method-hover" class="member ni"><a href="Ext.core.Element.html#method-hover" rel="method-hover" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-hover" class="viewSource">view source</a></div><a name="hover"></a><a name="method-hover"></a><a href="Ext.core.Element.html#" rel="method-hover" class="cls expand">hover</a>(
1016 <span class="pre">Function overFn, Function outFn, [Object scope], [Object options]</span>)
1017  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element.</p>
1018 </div><div class="long"><p>Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element.</p>
1019 <h3 class="pa">Parameters</h3><ul><li><span class="pre">overFn</span> : Function<div class="sub-desc"><p>The function to call when the mouse enters the Element.</p>
1020 </div></li><li><span class="pre">outFn</span> : Function<div class="sub-desc"><p>The function to call when the mouse leaves the Element.</p>
1021 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the functions are executed. Defaults to the Element's DOM element.</p>
1022 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Options for the listener. See <a href="Ext.util.Observable.html#addListener" rel="Ext.util.Observable#addListener" class="docClass">the &lt;tt&gt;options&lt;/tt&gt; parameter</a>.</p>
1023 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1024 </li></ul></div></div></div><div id="method-initDD" class="member ni"><a href="Ext.core.Element.html#method-initDD" rel="method-initDD" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.dd.html#Ext-core.Element-method-initDD" class="viewSource">view source</a></div><a name="initDD"></a><a name="method-initDD"></a><a href="Ext.core.Element.html#" rel="method-initDD" class="cls expand">initDD</a>(
1025 <span class="pre">String group, Object config, Object overrides</span>)
1026  : Ext.dd.DD</div><div class="description"><div class="short"><p>Initializes a <a href="Ext.dd.DD.html" rel="Ext.dd.DD" class="docClass">Ext.dd.DD</a> drag drop object for this element.</p>
1027 </div><div class="long"><p>Initializes a <a href="Ext.dd.DD.html" rel="Ext.dd.DD" class="docClass">Ext.dd.DD</a> drag drop object for this element.</p>
1028 <h3 class="pa">Parameters</h3><ul><li><span class="pre">group</span> : String<div class="sub-desc"><p>The group the DD object is member of</p>
1029 </div></li><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The DD config object</p>
1030 </div></li><li><span class="pre">overrides</span> : Object<div class="sub-desc"><p>An object containing methods to override/implement on the DD object</p>
1031 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.dd.DD</span>&nbsp; &nbsp;<p>The DD object</p>
1032 </li></ul></div></div></div><div id="method-initDDProxy" class="member ni"><a href="Ext.core.Element.html#method-initDDProxy" rel="method-initDDProxy" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.dd.html#Ext-core.Element-method-initDDProxy" class="viewSource">view source</a></div><a name="initDDProxy"></a><a name="method-initDDProxy"></a><a href="Ext.core.Element.html#" rel="method-initDDProxy" class="cls expand">initDDProxy</a>(
1033 <span class="pre">String group, Object config, Object overrides</span>)
1034  : Ext.dd.DDProxy</div><div class="description"><div class="short"><p>Initializes a <a href="Ext.dd.DDProxy.html" rel="Ext.dd.DDProxy" class="docClass">Ext.dd.DDProxy</a> object for this element.</p>
1035 </div><div class="long"><p>Initializes a <a href="Ext.dd.DDProxy.html" rel="Ext.dd.DDProxy" class="docClass">Ext.dd.DDProxy</a> object for this element.</p>
1036 <h3 class="pa">Parameters</h3><ul><li><span class="pre">group</span> : String<div class="sub-desc"><p>The group the DDProxy object is member of</p>
1037 </div></li><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The DDProxy config object</p>
1038 </div></li><li><span class="pre">overrides</span> : Object<div class="sub-desc"><p>An object containing methods to override/implement on the DDProxy object</p>
1039 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.dd.DDProxy</span>&nbsp; &nbsp;<p>The DDProxy object</p>
1040 </li></ul></div></div></div><div id="method-initDDTarget" class="member ni"><a href="Ext.core.Element.html#method-initDDTarget" rel="method-initDDTarget" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.dd.html#Ext-core.Element-method-initDDTarget" class="viewSource">view source</a></div><a name="initDDTarget"></a><a name="method-initDDTarget"></a><a href="Ext.core.Element.html#" rel="method-initDDTarget" class="cls expand">initDDTarget</a>(
1041 <span class="pre">String group, Object config, Object overrides</span>)
1042  : Ext.dd.DDTarget</div><div class="description"><div class="short"><p>Initializes a <a href="Ext.dd.DDTarget.html" rel="Ext.dd.DDTarget" class="docClass">Ext.dd.DDTarget</a> object for this element.</p>
1043 </div><div class="long"><p>Initializes a <a href="Ext.dd.DDTarget.html" rel="Ext.dd.DDTarget" class="docClass">Ext.dd.DDTarget</a> object for this element.</p>
1044 <h3 class="pa">Parameters</h3><ul><li><span class="pre">group</span> : String<div class="sub-desc"><p>The group the DDTarget object is member of</p>
1045 </div></li><li><span class="pre">config</span> : Object<div class="sub-desc"><p>The DDTarget config object</p>
1046 </div></li><li><span class="pre">overrides</span> : Object<div class="sub-desc"><p>An object containing methods to override/implement on the DDTarget object</p>
1047 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.dd.DDTarget</span>&nbsp; &nbsp;<p>The DDTarget object</p>
1048 </li></ul></div></div></div><div id="method-insertAfter" class="member ni"><a href="Ext.core.Element.html#method-insertAfter" rel="method-insertAfter" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-insertAfter" class="viewSource">view source</a></div><a name="insertAfter"></a><a name="method-insertAfter"></a><a href="Ext.core.Element.html#" rel="method-insertAfter" class="cls expand">insertAfter</a>(
1049 <span class="pre">Mixed el</span>)
1050  : Ext.core.Element</div><div class="description"><div class="short"><p>Inserts this element after the passed element in the DOM</p>
1051 </div><div class="long"><p>Inserts this element after the passed element in the DOM</p>
1052 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The element to insert after</p>
1053 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1054 </li></ul></div></div></div><div id="method-insertBefore" class="member ni"><a href="Ext.core.Element.html#method-insertBefore" rel="method-insertBefore" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-insertBefore" class="viewSource">view source</a></div><a name="insertBefore"></a><a name="method-insertBefore"></a><a href="Ext.core.Element.html#" rel="method-insertBefore" class="cls expand">insertBefore</a>(
1055 <span class="pre">Mixed el</span>)
1056  : Ext.core.Element</div><div class="description"><div class="short"><p>Inserts this element before the passed element in the DOM</p>
1057 </div><div class="long"><p>Inserts this element before the passed element in the DOM</p>
1058 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The element before which this element will be inserted</p>
1059 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1060 </li></ul></div></div></div><div id="method-insertFirst" class="member ni"><a href="Ext.core.Element.html#method-insertFirst" rel="method-insertFirst" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-insertFirst" class="viewSource">view source</a></div><a name="insertFirst"></a><a name="method-insertFirst"></a><a href="Ext.core.Element.html#" rel="method-insertFirst" class="cls expand">insertFirst</a>(
1061 <span class="pre">Mixed/Object el, Object returnDom</span>)
1062  : Ext.core.Element</div><div class="description"><div class="short"><p>Inserts (or creates) an element (or DomHelper config) as the first child of this element</p>
1063 </div><div class="long"><p>Inserts (or creates) an element (or DomHelper config) as the first child of this element</p>
1064 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed/Object<div class="sub-desc"><p>The id or element to insert or a DomHelper config to create and insert</p>
1065 </div></li><li><span class="pre">returnDom</span> : Object<div class="sub-desc">
1066 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The new child</p>
1067 </li></ul></div></div></div><div id="method-insertHtml" class="member ni"><a href="Ext.core.Element.html#method-insertHtml" rel="method-insertHtml" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-insertHtml" class="viewSource">view source</a></div><a name="insertHtml"></a><a name="method-insertHtml"></a><a href="Ext.core.Element.html#" rel="method-insertHtml" class="cls expand">insertHtml</a>(
1068 <span class="pre">String where, String html, [Boolean returnEl]</span>)
1069  : HTMLElement/Ext.core.Element</div><div class="description"><div class="short"><p>Inserts an html fragment into this element</p>
1070 </div><div class="long"><p>Inserts an html fragment into this element</p>
1071 <h3 class="pa">Parameters</h3><ul><li><span class="pre">where</span> : String<div class="sub-desc"><p>Where to insert the html in relation to this element - beforeBegin, afterBegin, beforeEnd, afterEnd.</p>
1072 </div></li><li><span class="pre">html</span> : String<div class="sub-desc"><p>The HTML fragment</p>
1073 </div></li><li><span class="pre">returnEl</span> : Boolean<div class="sub-desc"><p>(optional) True to return an <a href="Ext.core.Element.html" rel="Ext.core.Element" class="docClass">Ext.core.Element</a> (defaults to false)</p>
1074 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement/Ext.core.Element</span>&nbsp; &nbsp;<p>The inserted node (or nearest related if more than 1 inserted)</p>
1075 </li></ul></div></div></div><div id="method-insertSibling" class="member ni"><a href="Ext.core.Element.html#method-insertSibling" rel="method-insertSibling" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-insertSibling" class="viewSource">view source</a></div><a name="insertSibling"></a><a name="method-insertSibling"></a><a href="Ext.core.Element.html#" rel="method-insertSibling" class="cls expand">insertSibling</a>(
1076 <span class="pre">Mixed/Object/Array el, [String where], [Boolean returnDom]</span>)
1077  : Ext.core.Element</div><div class="description"><div class="short"><p>Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element</p>
1078 </div><div class="long"><p>Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element</p>
1079 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed/Object/Array<div class="sub-desc"><p>The id, element to insert or a DomHelper config to create and insert <em>or</em> an array of any of those.</p>
1080 </div></li><li><span class="pre">where</span> : String<div class="sub-desc"><p>(optional) 'before' or 'after' defaults to before</p>
1081 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return the .;ll;l,raw DOM element instead of Ext.core.Element</p>
1082 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The inserted Element. If an array is passed, the last inserted element is returned.</p>
1083 </li></ul></div></div></div><div id="method-is" class="member ni"><a href="Ext.core.Element.html#method-is" rel="method-is" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-is" class="viewSource">view source</a></div><a name="is"></a><a name="method-is"></a><a href="Ext.core.Element.html#" rel="method-is" class="cls expand">is</a>(
1084 <span class="pre">String selector</span>)
1085  : Boolean</div><div class="description"><div class="short"><p>Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)</p>
1086 </div><div class="long"><p>Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)</p>
1087 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The simple selector to test</p>
1088 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if this element matches the selector, else false</p>
1089 </li></ul></div></div></div><div id="method-isBorderBox" class="member ni"><a href="Ext.core.Element.html#method-isBorderBox" rel="method-isBorderBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-isBorderBox" class="viewSource">view source</a></div><a name="isBorderBox"></a><a name="method-isBorderBox"></a><a href="Ext.core.Element.html#" rel="method-isBorderBox" class="cls expand">isBorderBox</a> : Boolean</div><div class="description"><div class="short"><p>Tests various css rules/browsers to determine if this element uses a border box</p>
1090 </div><div class="long"><p>Tests various css rules/browsers to determine if this element uses a border box</p>
1091 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
1092 </li></ul></div></div></div><div id="method-isDisplayed" class="member ni"><a href="Ext.core.Element.html#method-isDisplayed" rel="method-isDisplayed" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx-more.html#Ext-core.Element-method-isDisplayed" class="viewSource">view source</a></div><a name="isDisplayed"></a><a name="method-isDisplayed"></a><a href="Ext.core.Element.html#" rel="method-isDisplayed" class="cls expand">isDisplayed</a> : Boolean</div><div class="description"><div class="short"><p>Returns true if display is not "none"</p>
1093 </div><div class="long"><p>Returns true if display is not "none"</p>
1094 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
1095 </li></ul></div></div></div><div id="method-isMasked" class="member ni"><a href="Ext.core.Element.html#method-isMasked" rel="method-isMasked" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx-more.html#Ext-core.Element-method-isMasked" class="viewSource">view source</a></div><a name="isMasked"></a><a name="method-isMasked"></a><a href="Ext.core.Element.html#" rel="method-isMasked" class="cls expand">isMasked</a> : Boolean</div><div class="description"><div class="short"><p>Returns true if this element is masked. Also re-centers any displayed message within the mask.</p>
1096 </div><div class="long"><p>Returns true if this element is masked. Also re-centers any displayed message within the mask.</p>
1097 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
1098 </li></ul></div></div></div><div id="method-isScrollable" class="member ni"><a href="Ext.core.Element.html#method-isScrollable" rel="method-isScrollable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.scroll.html#Ext-core.Element-method-isScrollable" class="viewSource">view source</a></div><a name="isScrollable"></a><a name="method-isScrollable"></a><a href="Ext.core.Element.html#" rel="method-isScrollable" class="cls expand">isScrollable</a> : Boolean</div><div class="description"><div class="short"><p>Returns true if this element is scrollable.</p>
1099 </div><div class="long"><p>Returns true if this element is scrollable.</p>
1100 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;
1101 </li></ul></div></div></div><div id="method-isVisible" class="member ni"><a href="Ext.core.Element.html#method-isVisible" rel="method-isVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-method-isVisible" class="viewSource">view source</a></div><a name="isVisible"></a><a name="method-isVisible"></a><a href="Ext.core.Element.html#" rel="method-isVisible" class="cls expand">isVisible</a> : Boolean</div><div class="description"><div class="short"><p>Checks whether the element is currently visible using both visibility and display properties.</p>
1102 </div><div class="long"><p>Checks whether the element is currently visible using both visibility and display properties.</p>
1103 <h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>True if the element is currently visible, else false</p>
1104 </li></ul></div></div></div><div id="method-last" class="member ni"><a href="Ext.core.Element.html#method-last" rel="method-last" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-last" class="viewSource">view source</a></div><a name="last"></a><a name="method-last"></a><a href="Ext.core.Element.html#" rel="method-last" class="cls expand">last</a>(
1105 <span class="pre">[String selector], [Boolean returnDom]</span>)
1106  : Ext.core.Element/HTMLElement</div><div class="description"><div class="short"><p>Gets the last child, skipping text nodes</p>
1107 </div><div class="long"><p>Gets the last child, skipping text nodes</p>
1108 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>(optional) Find the previous sibling that matches the passed simple selector</p>
1109 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return a raw dom node instead of an Ext.core.Element</p>
1110 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element/HTMLElement</span>&nbsp; &nbsp;<p>The last child or null</p>
1111 </li></ul></div></div></div><div id="method-load" class="member ni"><a href="Ext.core.Element.html#method-load" rel="method-load" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element-more.html#Ext-core.Element-method-load" class="viewSource">view source</a></div><a name="load"></a><a name="method-load"></a><a href="Ext.core.Element.html#" rel="method-load" class="cls expand">load</a>(
1112 <span class="pre">Object options</span>)
1113  : Ext.core.Element</div><div class="description"><div class="short">Direct access to the Ext.ElementLoader Ext.ElementLoader.load method. The method takes the same object
1114 parameter as E...</div><div class="long"><p>Direct access to the <a href="Ext.ElementLoader.html" rel="Ext.ElementLoader" class="docClass">Ext.ElementLoader</a> <a href="Ext.ElementLoader.html#load" rel="Ext.ElementLoader#load" class="docClass">Ext.ElementLoader.load</a> method. The method takes the same object
1115 parameter as <a href="Ext.ElementLoader.html#load" rel="Ext.ElementLoader#load" class="docClass">Ext.ElementLoader.load</a></p>
1116 <h3 class="pa">Parameters</h3><ul><li><span class="pre">options</span> : Object<div class="sub-desc">
1117 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1118 </li></ul></div></div></div><div id="method-mask" class="member ni"><a href="Ext.core.Element.html#method-mask" rel="method-mask" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx-more.html#Ext-core.Element-method-mask" class="viewSource">view source</a></div><a name="mask"></a><a name="method-mask"></a><a href="Ext.core.Element.html#" rel="method-mask" class="cls expand">mask</a>(
1119 <span class="pre">[String msg], [String msgCls]</span>)
1120  : Element</div><div class="description"><div class="short">Puts a mask over this element to disable user interaction. Requires core.css.
1121 This method can only be applied to elem...</div><div class="long"><p>Puts a mask over this element to disable user interaction. Requires core.css.
1122 This method can only be applied to elements which accept child nodes.</p>
1123 <h3 class="pa">Parameters</h3><ul><li><span class="pre">msg</span> : String<div class="sub-desc"><p>(optional) A message to display in the mask</p>
1124 </div></li><li><span class="pre">msgCls</span> : String<div class="sub-desc"><p>(optional) A css class to apply to the msg element</p>
1125 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Element</span>&nbsp; &nbsp;<p>The mask element</p>
1126 </li></ul></div></div></div><div id="method-monitorMouseLeave" class="member ni"><a href="Ext.core.Element.html#method-monitorMouseLeave" rel="method-monitorMouseLeave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element-more.html#Ext-core.Element-method-monitorMouseLeave" class="viewSource">view source</a></div><a name="monitorMouseLeave"></a><a name="method-monitorMouseLeave"></a><a href="Ext.core.Element.html#" rel="method-monitorMouseLeave" class="cls expand">monitorMouseLeave</a>(
1127 <span class="pre">Number delay, Function handler, Object scope</span>)
1128  : Object</div><div class="description"><div class="short">Monitors this Element for the mouse leaving. Calls the function after the specified delay only if
1129 the mouse was not m...</div><div class="long"><p>Monitors this Element for the mouse leaving. Calls the function after the specified delay only if
1130 the mouse was not moved back into the Element within the delay. If the mouse <i>was</i> moved
1131 back in, the function is not called.</p>
1132 <h3 class="pa">Parameters</h3><ul><li><span class="pre">delay</span> : Number<div class="sub-desc"><p>The delay <b>in milliseconds</b> to wait for possible mouse re-entry before calling the handler function.</p>
1133 </div></li><li><span class="pre">handler</span> : Function<div class="sub-desc"><p>The function to call if the mouse remains outside of this Element for the specified time.</p>
1134 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>The scope (<code>this</code> reference) in which the handler function executes. Defaults to this Element.</p>
1135 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>The listeners object which was added to this element so that monitoring can be stopped. Example usage:</pre><code>
1136 // Hide the menu if the mouse moves out for 250ms or more
1137 this.mouseLeaveMonitor = this.menuEl.monitorMouseLeave(250, this.hideMenu, this);</p>
1138
1139 <p>...
1140 // Remove mouseleave monitor on menu destroy
1141 this.menuEl.un(this.mouseLeaveMonitor);
1142 </code></pre></p>
1143 </li></ul></div></div></div><div id="method-move" class="member ni"><a href="Ext.core.Element.html#method-move" rel="method-move" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-move" class="viewSource">view source</a></div><a name="move"></a><a name="method-move"></a><a href="Ext.core.Element.html#" rel="method-move" class="cls expand">move</a>(
1144 <span class="pre">String direction, Number distance, [Boolean/Object animate]</span>)
1145  : Ext.core.Element</div><div class="description"><div class="short"><p>Move this element relative to its current position.</p>
1146 </div><div class="long"><p>Move this element relative to its current position.</p>
1147 <h3 class="pa">Parameters</h3><ul><li><span class="pre">direction</span> : String<div class="sub-desc"><p>Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").</p>
1148 </div></li><li><span class="pre">distance</span> : Number<div class="sub-desc"><p>How far to move the element in pixels</p>
1149 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1150 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1151 </li></ul></div></div></div><div id="method-moveTo" class="member ni"><a href="Ext.core.Element.html#method-moveTo" rel="method-moveTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-moveTo" class="viewSource">view source</a></div><a name="moveTo"></a><a name="method-moveTo"></a><a href="Ext.core.Element.html#" rel="method-moveTo" class="cls expand">moveTo</a>(
1152 <span class="pre">Number x, Number y, [Boolean/Object animate]</span>)
1153  : Ext.core.Element</div><div class="description"><div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
1154 The element must b...</div><div class="long"><p>Sets the position of the element in page coordinates, regardless of how the element is positioned.
1155 The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).</p>
1156 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>X value for new position (coordinates are page-based)</p>
1157 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>Y value for new position (coordinates are page-based)</p>
1158 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) True for the default animation, or a standard Element animation config object</p>
1159 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1160 </li></ul></div></div></div><div id="method-next" class="member ni"><a href="Ext.core.Element.html#method-next" rel="method-next" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-next" class="viewSource">view source</a></div><a name="next"></a><a name="method-next"></a><a href="Ext.core.Element.html#" rel="method-next" class="cls expand">next</a>(
1161 <span class="pre">[String selector], [Boolean returnDom]</span>)
1162  : Ext.core.Element/HTMLElement</div><div class="description"><div class="short"><p>Gets the next sibling, skipping text nodes</p>
1163 </div><div class="long"><p>Gets the next sibling, skipping text nodes</p>
1164 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>(optional) Find the next sibling that matches the passed simple selector</p>
1165 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return a raw dom node instead of an Ext.core.Element</p>
1166 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element/HTMLElement</span>&nbsp; &nbsp;<p>The next sibling or null</p>
1167 </li></ul></div></div></div><div id="method-normalize" class="member ni"><a href="Ext.core.Element.html#method-normalize" rel="method-normalize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-normalize" class="viewSource">view source</a></div><a name="normalize"></a><a name="method-normalize"></a><a href="Ext.core.Element.html#" rel="method-normalize" class="cls expand">normalize</a>(
1168 <span class="pre">String prop</span>)
1169  : String</div><div class="description"><div class="short">Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax.
1170 For example:
1171
1172
1173  border-width -> bor...</div><div class="long"><p>Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax.
1174 For example:</p>
1175
1176 <ul>
1177  <li>border-width -> borderWidth</li>
1178  <li>padding-top -> paddingTop</li>
1179 </ul>
1180
1181 <h3 class="pa">Parameters</h3><ul><li><span class="pre">prop</span> : String<div class="sub-desc"><p>The property to normalize</p>
1182 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The normalized string</p>
1183 </li></ul></div></div></div><div id="method-on" class="member ni"><a href="Ext.core.Element.html#method-on" rel="method-on" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-on" class="viewSource">view source</a></div><a name="on"></a><a name="method-on"></a><a href="Ext.core.Element.html#" rel="method-on" class="cls expand">on</a>(
1184 <span class="pre">String eventName, Function fn, [Object scope], [Object options]</span>)
1185  : void</div><div class="description"><div class="short"><p>Appends an event handler (shorthand for <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a>).</p>
1186 </div><div class="long"><p>Appends an event handler (shorthand for <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a>).</p>
1187 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of event to handle.</p>
1188 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The handler function the event invokes.</p>
1189 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>(optional) The scope (<code>this</code> reference) in which the handler function is executed.</p>
1190 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) An object containing standard <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> options</p>
1191 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1192 </li></ul></div></div></div><div id="method-parent" class="member ni"><a href="Ext.core.Element.html#method-parent" rel="method-parent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-parent" class="viewSource">view source</a></div><a name="parent"></a><a name="method-parent"></a><a href="Ext.core.Element.html#" rel="method-parent" class="cls expand">parent</a>(
1193 <span class="pre">[String selector], [Boolean returnDom]</span>)
1194  : Ext.core.Element/HTMLElement</div><div class="description"><div class="short"><p>Gets the parent node for this element, optionally chaining up trying to match a selector</p>
1195 </div><div class="long"><p>Gets the parent node for this element, optionally chaining up trying to match a selector</p>
1196 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>(optional) Find a parent node that matches the passed simple selector</p>
1197 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return a raw dom node instead of an Ext.core.Element</p>
1198 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element/HTMLElement</span>&nbsp; &nbsp;<p>The parent node or null</p>
1199 </li></ul></div></div></div><div id="method-parseBox" class="member ni"><a href="Ext.core.Element.html#method-parseBox" rel="method-parseBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-parseBox" class="viewSource">view source</a></div><a name="parseBox"></a><a name="method-parseBox"></a><a href="Ext.core.Element.html#" rel="method-parseBox" class="cls expand">parseBox</a>(
1200 <span class="pre">Number|String box</span>)
1201  : Object</div><div class="description"><div class="short">Parses a number or string representing margin sizes into an object. Supports CSS-style margin declarations
1202 (e.g. 10, ...</div><div class="long"><p>Parses a number or string representing margin sizes into an object. Supports CSS-style margin declarations
1203 (e.g. 10, "10", "10 10", "10 10 10" and "10 10 10 10" are all valid options and would return the same result)</p>
1204 <h3 class="pa">Parameters</h3><ul><li><span class="pre">box</span> : Number|String<div class="sub-desc"><p>The encoded margins</p>
1205 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object with margin sizes for top, right, bottom and left</p>
1206 </li></ul></div></div></div><div id="method-parseStyles" class="member ni"><a href="Ext.core.Element.html#method-parseStyles" rel="method-parseStyles" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-parseStyles" class="viewSource">view source</a></div><a name="parseStyles"></a><a name="method-parseStyles"></a><a href="Ext.core.Element.html#" rel="method-parseStyles" class="cls expand">parseStyles</a>(
1207 <span class="pre">String styles</span>)
1208  : Object</div><div class="description"><div class="short">Converts a CSS string into an object with a property for each style.
1209
1210
1211 The sample code below would return an object w...</div><div class="long"><p>Converts a CSS string into an object with a property for each style.</p>
1212
1213 <p>
1214 The sample code below would return an object with 2 properties, one
1215 for background-color and one for color.</p>
1216
1217
1218 <pre><code>var css = 'background-color: red;color: blue; ';
1219 console.log(Ext.core.Element.parseStyles(css));
1220 </code></pre>
1221
1222 <h3 class="pa">Parameters</h3><ul><li><span class="pre">styles</span> : String<div class="sub-desc"><p>A CSS string</p>
1223 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>styles</p>
1224 </li></ul></div></div></div><div id="method-pause" class="member ni"><a href="Ext.core.Element.html#method-pause" rel="method-pause" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-pause" class="viewSource">view source</a></div><a name="pause"></a><a name="method-pause"></a><a href="Ext.core.Element.html#" rel="method-pause" class="cls expand">pause</a>(
1225 <span class="pre">Number seconds</span>)
1226  : Ext.Element</div><div class="description"><div class="short">@deprecated 4.0
1227 Creates a pause before any subsequent queued effects begin.  If there are
1228 no effects queued after the...</div><div class="long"><p>@deprecated 4.0
1229 Creates a pause before any subsequent queued effects begin.  If there are
1230 no effects queued after the pause it will have no effect.
1231 Usage:</p>
1232
1233 <pre><code>el.pause(1);
1234 </code></pre>
1235
1236 <h3 class="pa">Parameters</h3><ul><li><span class="pre">seconds</span> : Number<div class="sub-desc"><p>The length of time to pause (in seconds)</p>
1237 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Element</span>&nbsp; &nbsp;<p>The Element</p>
1238 </li></ul></div></div></div><div id="method-position" class="member ni"><a href="Ext.core.Element.html#method-position" rel="method-position" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-position" class="viewSource">view source</a></div><a name="position"></a><a name="method-position"></a><a href="Ext.core.Element.html#" rel="method-position" class="cls expand">position</a>(
1239 <span class="pre">[String pos], [Number zIndex], [Number x], [Number y]</span>)
1240  : void</div><div class="description"><div class="short">Initializes positioning on this element. If a desired position is not passed, it will make the
1241 the element positioned...</div><div class="long"><p>Initializes positioning on this element. If a desired position is not passed, it will make the
1242 the element positioned relative IF it is not already positioned.</p>
1243 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pos</span> : String<div class="sub-desc"><p>(optional) Positioning to use "relative", "absolute" or "fixed"</p>
1244 </div></li><li><span class="pre">zIndex</span> : Number<div class="sub-desc"><p>(optional) The zIndex to apply</p>
1245 </div></li><li><span class="pre">x</span> : Number<div class="sub-desc"><p>(optional) Set the page X position</p>
1246 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>(optional) Set the page Y position</p>
1247 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1248 </li></ul></div></div></div><div id="method-prev" class="member ni"><a href="Ext.core.Element.html#method-prev" rel="method-prev" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-prev" class="viewSource">view source</a></div><a name="prev"></a><a name="method-prev"></a><a href="Ext.core.Element.html#" rel="method-prev" class="cls expand">prev</a>(
1249 <span class="pre">[String selector], [Boolean returnDom]</span>)
1250  : Ext.core.Element/HTMLElement</div><div class="description"><div class="short"><p>Gets the previous sibling, skipping text nodes</p>
1251 </div><div class="long"><p>Gets the previous sibling, skipping text nodes</p>
1252 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>(optional) Find the previous sibling that matches the passed simple selector</p>
1253 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return a raw dom node instead of an Ext.core.Element</p>
1254 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element/HTMLElement</span>&nbsp; &nbsp;<p>The previous sibling or null</p>
1255 </li></ul></div></div></div><div id="method-puff" class="member ni"><a href="Ext.core.Element.html#method-puff" rel="method-puff" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-puff" class="viewSource">view source</a></div><a name="puff"></a><a name="method-puff"></a><a href="Ext.core.Element.html#" rel="method-puff" class="cls expand">puff</a>(
1256 <span class="pre">[Object options]</span>)
1257  : Ext.core.Element</div><div class="description"><div class="short">Fades the element out while slowly expanding it in all directions.  When the effect is completed, the
1258 element will be...</div><div class="long"><p>Fades the element out while slowly expanding it in all directions.  When the effect is completed, the
1259 element will be hidden (visibility = 'hidden') but block elements will still take up space in the document.
1260 Usage:</p>
1261
1262 <pre><code>// default
1263 el.puff();
1264
1265 // common config options shown with default values
1266 el.puff({
1267     easing: 'easeOut',
1268     duration: 500,
1269     useDisplay: false
1270 });
1271 </code></pre>
1272
1273 <h3 class="pa">Parameters</h3><ul><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
1274 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1275 </li></ul></div></div></div><div id="method-purgeAllListeners" class="member ni"><a href="Ext.core.Element.html#method-purgeAllListeners" rel="method-purgeAllListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-purgeAllListeners" class="viewSource">view source</a></div><a name="purgeAllListeners"></a><a name="method-purgeAllListeners"></a><a href="Ext.core.Element.html#" rel="method-purgeAllListeners" class="cls expand">purgeAllListeners</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Recursively removes all previous added listeners from this element and its children</p>
1276 </div><div class="long"><p>Recursively removes all previous added listeners from this element and its children</p>
1277 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1278 </li></ul></div></div></div><div id="method-query" class="member ni"><a href="Ext.core.Element.html#method-query" rel="method-query" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-query" class="viewSource">view source</a></div><a name="query"></a><a name="method-query"></a><a href="Ext.core.Element.html#" rel="method-query" class="cls expand">query</a>(
1279 <span class="pre">String selector</span>)
1280  : Array</div><div class="description"><div class="short"><p>Selects child nodes based on the passed CSS selector (the selector should not contain an id).</p>
1281 </div><div class="long"><p>Selects child nodes based on the passed CSS selector (the selector should not contain an id).</p>
1282 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The CSS selector</p>
1283 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Array</span>&nbsp; &nbsp;<p>An array of the matched nodes</p>
1284 </li></ul></div></div></div><div id="method-radioCls" class="member ni"><a href="Ext.core.Element.html#method-radioCls" rel="method-radioCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-radioCls" class="viewSource">view source</a></div><a name="radioCls"></a><a name="method-radioCls"></a><a href="Ext.core.Element.html#" rel="method-radioCls" class="cls expand">radioCls</a>(
1285 <span class="pre">String/Array className</span>)
1286  : Ext.core.Element</div><div class="description"><div class="short"><p>Adds one or more CSS classes to this element and removes the same class(es) from all siblings.</p>
1287 </div><div class="long"><p>Adds one or more CSS classes to this element and removes the same class(es) from all siblings.</p>
1288 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : String/Array<div class="sub-desc"><p>The CSS class to add, or an array of classes</p>
1289 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1290 </li></ul></div></div></div><div id="method-relayEvent" class="member ni"><a href="Ext.core.Element.html#method-relayEvent" rel="method-relayEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element-more.html#Ext-core.Element-method-relayEvent" class="viewSource">view source</a></div><a name="relayEvent"></a><a name="method-relayEvent"></a><a href="Ext.core.Element.html#" rel="method-relayEvent" class="cls expand">relayEvent</a>(
1291 <span class="pre">String eventName, Object object</span>)
1292  : void</div><div class="description"><div class="short">Create an event handler on this element such that when the event fires and is handled by this element,
1293 it will be rel...</div><div class="long"><p>Create an event handler on this element such that when the event fires and is handled by this element,
1294 it will be relayed to another object (i.e., fired again as if it originated from that object instead).</p>
1295 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The type of event to relay</p>
1296 </div></li><li><span class="pre">object</span> : Object<div class="sub-desc"><p>Any object that extends <a href="Ext.util.Observable.html" rel="Ext.util.Observable" class="docClass">Ext.util.Observable</a> that will provide the context
1297 for firing the relayed event</p>
1298 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1299 </li></ul></div></div></div><div id="method-remove" class="member ni"><a href="Ext.core.Element.html#method-remove" rel="method-remove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-remove" class="viewSource">view source</a></div><a name="remove"></a><a name="method-remove"></a><a href="Ext.core.Element.html#" rel="method-remove" class="cls expand">remove</a> : void</div><div class="description"><div class="short"><p>Removes this element's dom reference.  Note that event and cache removal is handled at <a href="Ext.html#removeNode" rel="Ext#removeNode" class="docClass">Ext.removeNode</a></p>
1300
1301 </div><div class="long"><p>Removes this element's dom reference.  Note that event and cache removal is handled at <a href="Ext.html#removeNode" rel="Ext#removeNode" class="docClass">Ext.removeNode</a></p>
1302
1303 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1304 </li></ul></div></div></div><div id="method-removeAllListeners" class="member ni"><a href="Ext.core.Element.html#method-removeAllListeners" rel="method-removeAllListeners" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-removeAllListeners" class="viewSource">view source</a></div><a name="removeAllListeners"></a><a name="method-removeAllListeners"></a><a href="Ext.core.Element.html#" rel="method-removeAllListeners" class="cls expand">removeAllListeners</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Removes all previous added listeners from this element</p>
1305 </div><div class="long"><p>Removes all previous added listeners from this element</p>
1306 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1307 </li></ul></div></div></div><div id="method-removeAnchor" class="member ni"><a href="Ext.core.Element.html#method-removeAnchor" rel="method-removeAnchor" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.alignment.html#Ext-core.Element-method-removeAnchor" class="viewSource">view source</a></div><a name="removeAnchor"></a><a name="method-removeAnchor"></a><a href="Ext.core.Element.html#" rel="method-removeAnchor" class="cls expand">removeAnchor</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Remove any anchor to this element. See <a href="Ext.core.Element.html#anchorTo" rel="Ext.core.Element#anchorTo" class="docClass">anchorTo</a>.</p>
1308 </div><div class="long"><p>Remove any anchor to this element. See <a href="Ext.core.Element.html#anchorTo" rel="Ext.core.Element#anchorTo" class="docClass">anchorTo</a>.</p>
1309 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1310 </li></ul></div></div></div><div id="method-removeCls" class="member ni"><a href="Ext.core.Element.html#method-removeCls" rel="method-removeCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-removeCls" class="viewSource">view source</a></div><a name="removeCls"></a><a name="method-removeCls"></a><a href="Ext.core.Element.html#" rel="method-removeCls" class="cls expand">removeCls</a>(
1311 <span class="pre">String/Array className</span>)
1312  : Ext.core.Element</div><div class="description"><div class="short"><p>Removes one or more CSS classes from the element.</p>
1313 </div><div class="long"><p>Removes one or more CSS classes from the element.</p>
1314 <h3 class="pa">Parameters</h3><ul><li><span class="pre">className</span> : String/Array<div class="sub-desc"><p>The CSS classes to remove separated by space, or an array of classes</p>
1315 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1316 </li></ul></div></div></div><div id="method-removeListener" class="member ni"><a href="Ext.core.Element.html#method-removeListener" rel="method-removeListener" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-removeListener" class="viewSource">view source</a></div><a name="removeListener"></a><a name="method-removeListener"></a><a href="Ext.core.Element.html#" rel="method-removeListener" class="cls expand">removeListener</a>(
1317 <span class="pre">String eventName, Function fn, Object scope</span>)
1318  : Ext.core.Element</div><div class="description"><div class="short">Removes an event handler from this element.  The shorthand version un is equivalent.
1319 Note: if a scope was explicitly ...</div><div class="long"><p>Removes an event handler from this element.  The shorthand version <a href="Ext.core.Element.html#un" rel="Ext.core.Element#un" class="docClass">un</a> is equivalent.
1320 <b>Note</b>: if a <i>scope</i> was explicitly specified when <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">adding</a> the
1321 listener, the same scope must be specified here.
1322 Example:</p>
1323
1324 <pre><code>el.removeListener('click', this.handlerFn);
1325 // or
1326 el.un('click', this.handlerFn);
1327 </code></pre>
1328
1329 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event from which to remove the handler.</p>
1330 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The handler function to remove. <b>This must be a reference to the function passed into the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</b></p>
1331 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
1332 then this must refer to the same object.</p>
1333 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1334 </li></ul></div></div></div><div id="method-repaint" class="member ni"><a href="Ext.core.Element.html#method-repaint" rel="method-repaint" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-repaint" class="viewSource">view source</a></div><a name="repaint"></a><a name="method-repaint"></a><a href="Ext.core.Element.html#" rel="method-repaint" class="cls expand">repaint</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Forces the browser to repaint this element</p>
1335 </div><div class="long"><p>Forces the browser to repaint this element</p>
1336 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1337 </li></ul></div></div></div><div id="method-replace" class="member ni"><a href="Ext.core.Element.html#method-replace" rel="method-replace" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-replace" class="viewSource">view source</a></div><a name="replace"></a><a name="method-replace"></a><a href="Ext.core.Element.html#" rel="method-replace" class="cls expand">replace</a>(
1338 <span class="pre">Mixed el</span>)
1339  : Ext.core.Element</div><div class="description"><div class="short"><p>Replaces the passed element with this element</p>
1340 </div><div class="long"><p>Replaces the passed element with this element</p>
1341 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed<div class="sub-desc"><p>The element to replace</p>
1342 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1343 </li></ul></div></div></div><div id="method-replaceCls" class="member ni"><a href="Ext.core.Element.html#method-replaceCls" rel="method-replaceCls" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-replaceCls" class="viewSource">view source</a></div><a name="replaceCls"></a><a name="method-replaceCls"></a><a href="Ext.core.Element.html#" rel="method-replaceCls" class="cls expand">replaceCls</a>(
1344 <span class="pre">String oldClassName, String newClassName</span>)
1345  : Ext.core.Element</div><div class="description"><div class="short"><p>Replaces a CSS class on the element with another.  If the old name does not exist, the new name will simply be added.</p>
1346 </div><div class="long"><p>Replaces a CSS class on the element with another.  If the old name does not exist, the new name will simply be added.</p>
1347 <h3 class="pa">Parameters</h3><ul><li><span class="pre">oldClassName</span> : String<div class="sub-desc"><p>The CSS class to replace</p>
1348 </div></li><li><span class="pre">newClassName</span> : String<div class="sub-desc"><p>The replacement CSS class</p>
1349 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1350 </li></ul></div></div></div><div id="method-replaceWith" class="member ni"><a href="Ext.core.Element.html#method-replaceWith" rel="method-replaceWith" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-replaceWith" class="viewSource">view source</a></div><a name="replaceWith"></a><a name="method-replaceWith"></a><a href="Ext.core.Element.html#" rel="method-replaceWith" class="cls expand">replaceWith</a>(
1351 <span class="pre">Mixed/Object el</span>)
1352  : Ext.core.Element</div><div class="description"><div class="short"><p>Replaces this element with the passed element</p>
1353 </div><div class="long"><p>Replaces this element with the passed element</p>
1354 <h3 class="pa">Parameters</h3><ul><li><span class="pre">el</span> : Mixed/Object<div class="sub-desc"><p>The new element or a DomHelper config of an element to create</p>
1355 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1356 </li></ul></div></div></div><div id="method-scale" class="member ni"><a href="Ext.core.Element.html#method-scale" rel="method-scale" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-scale" class="viewSource">view source</a></div><a name="scale"></a><a name="method-scale"></a><a href="Ext.core.Element.html#" rel="method-scale" class="cls expand">scale</a>(
1357 <span class="pre">Number width, Number height, [Object options]</span>)
1358  : Ext.Element</div><div class="description"><div class="short">@deprecated 4.0
1359 Animates the transition of an element's dimensions from a starting height/width
1360 to an ending height/w...</div><div class="long"><p>@deprecated 4.0
1361 Animates the transition of an element's dimensions from a starting height/width
1362 to an ending height/width.  This method is a convenience implementation of <a href="shift.html" rel="shift" class="docClass">shift</a>.
1363 Usage:</p>
1364
1365 <pre><code>// change height and width to 100x100 pixels
1366 el.scale(100, 100);
1367
1368 // common config options shown with default values.  The height and width will default to
1369 // the element&#39;s existing values if passed as null.
1370 el.scale(
1371     [element&#39;s width],
1372     [element&#39;s height], {
1373         easing: 'easeOut',
1374         duration: .35
1375     }
1376 );
1377 </code></pre>
1378
1379 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Number<div class="sub-desc"><p>The new width (pass undefined to keep the original width)</p>
1380 </div></li><li><span class="pre">height</span> : Number<div class="sub-desc"><p>The new height (pass undefined to keep the original height)</p>
1381 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
1382 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Element</span>&nbsp; &nbsp;<p>The Element</p>
1383 </li></ul></div></div></div><div id="method-scroll" class="member ni"><a href="Ext.core.Element.html#method-scroll" rel="method-scroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.scroll.html#Ext-core.Element-method-scroll" class="viewSource">view source</a></div><a name="scroll"></a><a name="method-scroll"></a><a href="Ext.core.Element.html#" rel="method-scroll" class="cls expand">scroll</a>(
1384 <span class="pre">String direction, Number distance, [Boolean/Object animate]</span>)
1385  : Boolean</div><div class="description"><div class="short">Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
1386 within this element's s...</div><div class="long"><p>Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
1387 within this element's scrollable range.</p>
1388 <h3 class="pa">Parameters</h3><ul><li><span class="pre">direction</span> : String<div class="sub-desc"><p>Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").</p>
1389 </div></li><li><span class="pre">distance</span> : Number<div class="sub-desc"><p>How far to scroll the element in pixels</p>
1390 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1391 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Boolean</span>&nbsp; &nbsp;<p>Returns true if a scroll was triggered or false if the element
1392 was scrolled as far as it could go.</p>
1393 </li></ul></div></div></div><div id="method-scrollIntoView" class="member ni"><a href="Ext.core.Element.html#method-scrollIntoView" rel="method-scrollIntoView" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.scroll.html#Ext-core.Element-method-scrollIntoView" class="viewSource">view source</a></div><a name="scrollIntoView"></a><a name="method-scrollIntoView"></a><a href="Ext.core.Element.html#" rel="method-scrollIntoView" class="cls expand">scrollIntoView</a>(
1394 <span class="pre">[Mixed container], [Boolean hscroll]</span>)
1395  : Ext.core.Element</div><div class="description"><div class="short"><p>Scrolls this element into view within the passed container.</p>
1396 </div><div class="long"><p>Scrolls this element into view within the passed container.</p>
1397 <h3 class="pa">Parameters</h3><ul><li><span class="pre">container</span> : Mixed<div class="sub-desc"><p>(optional) The container element to scroll (defaults to document.body).  Should be a
1398 string (id), dom node, or Ext.core.Element.</p>
1399 </div></li><li><span class="pre">hscroll</span> : Boolean<div class="sub-desc"><p>(optional) False to disable horizontal scroll (defaults to true)</p>
1400 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1401 </li></ul></div></div></div><div id="method-scrollTo" class="member ni"><a href="Ext.core.Element.html#method-scrollTo" rel="method-scrollTo" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.scroll.html#Ext-core.Element-method-scrollTo" class="viewSource">view source</a></div><a name="scrollTo"></a><a name="method-scrollTo"></a><a href="Ext.core.Element.html#" rel="method-scrollTo" class="cls expand">scrollTo</a>(
1402 <span class="pre">String side, Number value, [Boolean/Object animate]</span>)
1403  : Element</div><div class="description"><div class="short">Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it ...</div><div class="long"><p>Scrolls this element the specified scroll point. It does NOT do bounds checking so if you scroll to a weird value it will try to do it. For auto bounds checking, use scroll().</p>
1404 <h3 class="pa">Parameters</h3><ul><li><span class="pre">side</span> : String<div class="sub-desc"><p>Either "left" for scrollLeft values or "top" for scrollTop values.</p>
1405 </div></li><li><span class="pre">value</span> : Number<div class="sub-desc"><p>The new scroll value</p>
1406 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1407 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Element</span>&nbsp; &nbsp;<p>this</p>
1408 </li></ul></div></div></div><div id="method-select" class="member ni"><a href="Ext.core.Element.html#method-select" rel="method-select" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-select" class="viewSource">view source</a></div><a name="select"></a><a name="method-select"></a><a href="Ext.core.Element.html#" rel="method-select" class="cls expand">select</a>(
1409 <span class="pre">String selector</span>)
1410  : CompositeElement/CompositeElement</div><div class="description"><div class="short">Creates a Ext.CompositeElement for child nodes based on the passed CSS selector (the selector should not contain an i...</div><div class="long"><p>Creates a <a href="Ext.CompositeElement.html" rel="Ext.CompositeElement" class="docClass">Ext.CompositeElement</a> for child nodes based on the passed CSS selector (the selector should not contain an id).</p>
1411 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The CSS selector</p>
1412 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">CompositeElement/CompositeElement</span>&nbsp; &nbsp;<p>The composite element</p>
1413 </li></ul></div></div></div><div id="method-serializeForm" class="member ni"><a href="Ext.core.Element.html#method-serializeForm" rel="method-serializeForm" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static-more.html#Ext-core.Element-method-serializeForm" class="viewSource">view source</a></div><a name="serializeForm"></a><a name="method-serializeForm"></a><a href="Ext.core.Element.html#" rel="method-serializeForm" class="cls expand">serializeForm</a>(
1414 <span class="pre">Object form</span>)
1415  : String</div><div class="description"><div class="short"><p>Serializes a DOM form into a url encoded string</p>
1416 </div><div class="long"><p>Serializes a DOM form into a url encoded string</p>
1417 <h3 class="pa">Parameters</h3><ul><li><span class="pre">form</span> : Object<div class="sub-desc"><p>The form</p>
1418 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>The url encoded form</p>
1419 </li></ul></div></div></div><div id="method-set" class="member ni"><a href="Ext.core.Element.html#method-set" rel="method-set" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-set" class="viewSource">view source</a></div><a name="set"></a><a name="method-set"></a><a href="Ext.core.Element.html#" rel="method-set" class="cls expand">set</a>(
1420 <span class="pre">Object o, [Boolean useSet]</span>)
1421  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)</p>
1422 </div><div class="long"><p>Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)</p>
1423 <h3 class="pa">Parameters</h3><ul><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The object with the attributes</p>
1424 </div></li><li><span class="pre">useSet</span> : Boolean<div class="sub-desc"><p>(optional) false to override the default setAttribute to use expandos.</p>
1425 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1426 </li></ul></div></div></div><div id="method-setBottom" class="member ni"><a href="Ext.core.Element.html#method-setBottom" rel="method-setBottom" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setBottom" class="viewSource">view source</a></div><a name="setBottom"></a><a name="method-setBottom"></a><a href="Ext.core.Element.html#" rel="method-setBottom" class="cls expand">setBottom</a>(
1427 <span class="pre">String bottom</span>)
1428  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets the element's CSS bottom style.</p>
1429 </div><div class="long"><p>Sets the element's CSS bottom style.</p>
1430 <h3 class="pa">Parameters</h3><ul><li><span class="pre">bottom</span> : String<div class="sub-desc"><p>The bottom CSS property value</p>
1431 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1432 </li></ul></div></div></div><div id="method-setBounds" class="member ni"><a href="Ext.core.Element.html#method-setBounds" rel="method-setBounds" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setBounds" class="viewSource">view source</a></div><a name="setBounds"></a><a name="method-setBounds"></a><a href="Ext.core.Element.html#" rel="method-setBounds" class="cls expand">setBounds</a>(
1433 <span class="pre">Number x, Number y, Mixed width, Mixed height, [Boolean/Object animate]</span>)
1434  : Ext.core.Element</div><div class="description"><div class="short">Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated c...</div><div class="long"><p>Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.</p>
1435 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>X value for new position (coordinates are page-based)</p>
1436 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>Y value for new position (coordinates are page-based)</p>
1437 </div></li><li><span class="pre">width</span> : Mixed<div class="sub-desc"><p>The new width. This may be one of:<div class="mdetail-params"><ul>
1438 <li>A Number specifying the new width in this Element's <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">defaultUnit</a>s (by default, pixels)</li>
1439 <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
1440 </ul></div></p>
1441 </div></li><li><span class="pre">height</span> : Mixed<div class="sub-desc"><p>The new height. This may be one of:<div class="mdetail-params"><ul>
1442 <li>A Number specifying the new height in this Element's <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">defaultUnit</a>s (by default, pixels)</li>
1443 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
1444 </ul></div></p>
1445 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1446 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1447 </li></ul></div></div></div><div id="method-setBox" class="member ni"><a href="Ext.core.Element.html#method-setBox" rel="method-setBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setBox" class="viewSource">view source</a></div><a name="setBox"></a><a name="method-setBox"></a><a href="Ext.core.Element.html#" rel="method-setBox" class="cls expand">setBox</a>(
1448 <span class="pre">Object box, [Boolean adjust], [Boolean/Object animate]</span>)
1449  : Ext.core.Element</div><div class="description"><div class="short">Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x an...</div><div class="long"><p>Sets the element's box. Use getBox() on another element to get a box obj. If animate is true then width, height, x and y will be animated concurrently.</p>
1450 <h3 class="pa">Parameters</h3><ul><li><span class="pre">box</span> : Object<div class="sub-desc"><p>The box to fill {x, y, width, height}</p>
1451 </div></li><li><span class="pre">adjust</span> : Boolean<div class="sub-desc"><p>(optional) Whether to adjust for box-model issues automatically</p>
1452 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1453 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1454 </li></ul></div></div></div><div id="method-setDisplayed" class="member ni"><a href="Ext.core.Element.html#method-setDisplayed" rel="method-setDisplayed" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-method-setDisplayed" class="viewSource">view source</a></div><a name="setDisplayed"></a><a name="method-setDisplayed"></a><a href="Ext.core.Element.html#" rel="method-setDisplayed" class="cls expand">setDisplayed</a>(
1455 <span class="pre">Mixed value</span>)
1456  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.</p>
1457 </div><div class="long"><p>Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.</p>
1458 <h3 class="pa">Parameters</h3><ul><li><span class="pre">value</span> : Mixed<div class="sub-desc"><p>Boolean value to display the element using its default display, or a string to set the display directly.</p>
1459 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1460 </li></ul></div></div></div><div id="method-setHeight" class="member ni"><a href="Ext.core.Element.html#method-setHeight" rel="method-setHeight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-setHeight" class="viewSource">view source</a></div><a name="setHeight"></a><a name="method-setHeight"></a><a href="Ext.core.Element.html#" rel="method-setHeight" class="cls expand">setHeight</a>(
1461 <span class="pre">Mixed height, [Boolean/Object animate]</span>)
1462  : Ext.core.Element</div><div class="description"><div class="short">Set the height of this Element.
1463
1464 // change the height to 200px and animate with default configuration
1465 Ext.fly('elemen...</div><div class="long"><p>Set the height of this Element.</p>
1466
1467 <pre><code>// change the height to 200px and animate with default configuration
1468 Ext.fly('elementId').setHeight(200, true);
1469
1470 // change the height to 150px and animate with a custom configuration
1471 Ext.fly('elId').setHeight(150, {
1472     duration : .5, // animation will have a duration of .5 seconds
1473     // will change the content to "finished"
1474     callback: function(){ this.<a href="Ext.core.Element.html#update" rel="Ext.core.Element#update" class="docClass">update</a>("finished"); }
1475 });
1476 </code></pre>
1477
1478 <h3 class="pa">Parameters</h3><ul><li><span class="pre">height</span> : Mixed<div class="sub-desc"><p>The new height. This may be one of:<div class="mdetail-params"><ul>
1479 <li>A Number specifying the new height in this Element's <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">defaultUnit</a>s (by default, pixels.)</li>
1480 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
1481 </ul></div></p>
1482 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1483 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1484 </li></ul></div></div></div><div id="method-setLeft" class="member ni"><a href="Ext.core.Element.html#method-setLeft" rel="method-setLeft" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setLeft" class="viewSource">view source</a></div><a name="setLeft"></a><a name="method-setLeft"></a><a href="Ext.core.Element.html#" rel="method-setLeft" class="cls expand">setLeft</a>(
1485 <span class="pre">String left</span>)
1486  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets the element's left position directly using CSS style (instead of <a href="Ext.core.Element.html#setX" rel="Ext.core.Element#setX" class="docClass">setX</a>).</p>
1487 </div><div class="long"><p>Sets the element's left position directly using CSS style (instead of <a href="Ext.core.Element.html#setX" rel="Ext.core.Element#setX" class="docClass">setX</a>).</p>
1488 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : String<div class="sub-desc"><p>The left CSS property value</p>
1489 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1490 </li></ul></div></div></div><div id="method-setLeftTop" class="member ni"><a href="Ext.core.Element.html#method-setLeftTop" rel="method-setLeftTop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setLeftTop" class="viewSource">view source</a></div><a name="setLeftTop"></a><a name="method-setLeftTop"></a><a href="Ext.core.Element.html#" rel="method-setLeftTop" class="cls expand">setLeftTop</a>(
1491 <span class="pre">String left, String top</span>)
1492  : Ext.core.Element</div><div class="description"><div class="short"><p>Quick set left and top adding default units</p>
1493 </div><div class="long"><p>Quick set left and top adding default units</p>
1494 <h3 class="pa">Parameters</h3><ul><li><span class="pre">left</span> : String<div class="sub-desc"><p>The left CSS property value</p>
1495 </div></li><li><span class="pre">top</span> : String<div class="sub-desc"><p>The top CSS property value</p>
1496 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1497 </li></ul></div></div></div><div id="method-setLocation" class="member ni"><a href="Ext.core.Element.html#method-setLocation" rel="method-setLocation" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setLocation" class="viewSource">view source</a></div><a name="setLocation"></a><a name="method-setLocation"></a><a href="Ext.core.Element.html#" rel="method-setLocation" class="cls expand">setLocation</a>(
1498 <span class="pre">Number x, Number y, [Boolean/Object animate]</span>)
1499  : Ext.core.Element</div><div class="description"><div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
1500 The element must b...</div><div class="long"><p>Sets the position of the element in page coordinates, regardless of how the element is positioned.
1501 The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).</p>
1502 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number<div class="sub-desc"><p>X value for new position (coordinates are page-based)</p>
1503 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>Y value for new position (coordinates are page-based)</p>
1504 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) True for the default animation, or a standard Element animation config object</p>
1505 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1506 </li></ul></div></div></div><div id="method-setOpacity" class="member ni"><a href="Ext.core.Element.html#method-setOpacity" rel="method-setOpacity" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-setOpacity" class="viewSource">view source</a></div><a name="setOpacity"></a><a name="method-setOpacity"></a><a href="Ext.core.Element.html#" rel="method-setOpacity" class="cls expand">setOpacity</a>(
1507 <span class="pre">Float opacity, [Boolean/Object animate]</span>)
1508  : Ext.core.Element</div><div class="description"><div class="short"><p>Set the opacity of the element</p>
1509 </div><div class="long"><p>Set the opacity of the element</p>
1510 <h3 class="pa">Parameters</h3><ul><li><span class="pre">opacity</span> : Float<div class="sub-desc"><p>The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc</p>
1511 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) a standard Element animation config object or <tt>true</tt> for
1512 the default animation (<tt>{duration: .35, easing: 'easeIn'}</tt>)</p>
1513 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1514 </li></ul></div></div></div><div id="method-setPositioning" class="member ni"><a href="Ext.core.Element.html#method-setPositioning" rel="method-setPositioning" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setPositioning" class="viewSource">view source</a></div><a name="setPositioning"></a><a name="method-setPositioning"></a><a href="Ext.core.Element.html#" rel="method-setPositioning" class="cls expand">setPositioning</a>(
1515 <span class="pre">Object posCfg</span>)
1516  : Ext.core.Element</div><div class="description"><div class="short"><p>Set positioning with an object returned by getPositioning().</p>
1517 </div><div class="long"><p>Set positioning with an object returned by getPositioning().</p>
1518 <h3 class="pa">Parameters</h3><ul><li><span class="pre">posCfg</span> : Object<div class="sub-desc">
1519 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1520 </li></ul></div></div></div><div id="method-setRegion" class="member ni"><a href="Ext.core.Element.html#method-setRegion" rel="method-setRegion" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setRegion" class="viewSource">view source</a></div><a name="setRegion"></a><a name="method-setRegion"></a><a href="Ext.core.Element.html#" rel="method-setRegion" class="cls expand">setRegion</a>(
1521 <span class="pre">Ext.util.Region region, [Boolean/Object animate]</span>)
1522  : Ext.core.Element</div><div class="description"><div class="short">Sets the element's position and size the specified region. If animation is true then width, height, x and y will be a...</div><div class="long"><p>Sets the element's position and size the specified region. If animation is true then width, height, x and y will be animated concurrently.</p>
1523 <h3 class="pa">Parameters</h3><ul><li><span class="pre">region</span> : Ext.util.Region<div class="sub-desc"><p>The region to fill</p>
1524 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1525 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1526 </li></ul></div></div></div><div id="method-setRight" class="member ni"><a href="Ext.core.Element.html#method-setRight" rel="method-setRight" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setRight" class="viewSource">view source</a></div><a name="setRight"></a><a name="method-setRight"></a><a href="Ext.core.Element.html#" rel="method-setRight" class="cls expand">setRight</a>(
1527 <span class="pre">String right</span>)
1528  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets the element's CSS right style.</p>
1529 </div><div class="long"><p>Sets the element's CSS right style.</p>
1530 <h3 class="pa">Parameters</h3><ul><li><span class="pre">right</span> : String<div class="sub-desc"><p>The right CSS property value</p>
1531 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1532 </li></ul></div></div></div><div id="method-setSize" class="member ni"><a href="Ext.core.Element.html#method-setSize" rel="method-setSize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-setSize" class="viewSource">view source</a></div><a name="setSize"></a><a name="method-setSize"></a><a href="Ext.core.Element.html#" rel="method-setSize" class="cls expand">setSize</a>(
1533 <span class="pre">Mixed width, Mixed height, [Boolean/Object animate]</span>)
1534  : Ext.core.Element</div><div class="description"><div class="short"><p>Set the size of this Element. If animation is true, both width and height will be animated concurrently.</p>
1535 </div><div class="long"><p>Set the size of this Element. If animation is true, both width and height will be animated concurrently.</p>
1536 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Mixed<div class="sub-desc"><p>The new width. This may be one of:<div class="mdetail-params"><ul>
1537 <li>A Number specifying the new width in this Element's <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">defaultUnit</a>s (by default, pixels).</li>
1538 <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
1539 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
1540 </ul></div></p>
1541 </div></li><li><span class="pre">height</span> : Mixed<div class="sub-desc"><p>The new height. This may be one of:<div class="mdetail-params"><ul>
1542 <li>A Number specifying the new height in this Element's <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">defaultUnit</a>s (by default, pixels).</li>
1543 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
1544 </ul></div></p>
1545 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1546 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1547 </li></ul></div></div></div><div id="method-setStyle" class="member ni"><a href="Ext.core.Element.html#method-setStyle" rel="method-setStyle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-setStyle" class="viewSource">view source</a></div><a name="setStyle"></a><a name="method-setStyle"></a><a href="Ext.core.Element.html#" rel="method-setStyle" class="cls expand">setStyle</a>(
1548 <span class="pre">String/Object property, [String value]</span>)
1549  : Ext.core.Element</div><div class="description"><div class="short"><p>Wrapper for setting style properties, also takes single object parameter of multiple styles.</p>
1550 </div><div class="long"><p>Wrapper for setting style properties, also takes single object parameter of multiple styles.</p>
1551 <h3 class="pa">Parameters</h3><ul><li><span class="pre">property</span> : String/Object<div class="sub-desc"><p>The style property to be set, or an object of multiple styles.</p>
1552 </div></li><li><span class="pre">value</span> : String<div class="sub-desc"><p>(optional) The value to apply to the given property, or null if an object was passed.</p>
1553 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1554 </li></ul></div></div></div><div id="method-setTop" class="member ni"><a href="Ext.core.Element.html#method-setTop" rel="method-setTop" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setTop" class="viewSource">view source</a></div><a name="setTop"></a><a name="method-setTop"></a><a href="Ext.core.Element.html#" rel="method-setTop" class="cls expand">setTop</a>(
1555 <span class="pre">String top</span>)
1556  : Ext.core.Element</div><div class="description"><div class="short"><p>Sets the element's top position directly using CSS style (instead of <a href="Ext.core.Element.html#setY" rel="Ext.core.Element#setY" class="docClass">setY</a>).</p>
1557 </div><div class="long"><p>Sets the element's top position directly using CSS style (instead of <a href="Ext.core.Element.html#setY" rel="Ext.core.Element#setY" class="docClass">setY</a>).</p>
1558 <h3 class="pa">Parameters</h3><ul><li><span class="pre">top</span> : String<div class="sub-desc"><p>The top CSS property value</p>
1559 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1560 </li></ul></div></div></div><div id="method-setVisibilityMode" class="member ni"><a href="Ext.core.Element.html#method-setVisibilityMode" rel="method-setVisibilityMode" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-method-setVisibilityMode" class="viewSource">view source</a></div><a name="setVisibilityMode"></a><a name="method-setVisibilityMode"></a><a href="Ext.core.Element.html#" rel="method-setVisibilityMode" class="cls expand">setVisibilityMode</a>(
1561 <span class="pre">Number visMode</span>)
1562  : Ext.core.Element</div><div class="description"><div class="short">Sets the element's visibility mode. When setVisible() is called it
1563 will use this to determine whether to set the visi...</div><div class="long"><p>Sets the element's visibility mode. When setVisible() is called it
1564 will use this to determine whether to set the visibility or the display property.</p>
1565 <h3 class="pa">Parameters</h3><ul><li><span class="pre">visMode</span> : Number<div class="sub-desc"><p>Ext.core.Element.VISIBILITY or Ext.core.Element.DISPLAY</p>
1566 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1567 </li></ul></div></div></div><div id="method-setVisible" class="member ni"><a href="Ext.core.Element.html#method-setVisible" rel="method-setVisible" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-method-setVisible" class="viewSource">view source</a></div><a name="setVisible"></a><a name="method-setVisible"></a><a href="Ext.core.Element.html#" rel="method-setVisible" class="cls expand">setVisible</a>(
1568 <span class="pre">Boolean visible, [Boolean/Object animate]</span>)
1569  : Ext.core.Element</div><div class="description"><div class="short">Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
1570 the di...</div><div class="long"><p>Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
1571 the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.</p>
1572 <h3 class="pa">Parameters</h3><ul><li><span class="pre">visible</span> : Boolean<div class="sub-desc"><p>Whether the element is visible</p>
1573 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) True for the default animation, or a standard Element animation config object</p>
1574 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1575 </li></ul></div></div></div><div id="method-setWidth" class="member ni"><a href="Ext.core.Element.html#method-setWidth" rel="method-setWidth" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-setWidth" class="viewSource">view source</a></div><a name="setWidth"></a><a name="method-setWidth"></a><a href="Ext.core.Element.html#" rel="method-setWidth" class="cls expand">setWidth</a>(
1576 <span class="pre">Mixed width, [Boolean/Object animate]</span>)
1577  : Ext.core.Element</div><div class="description"><div class="short"><p>Set the width of this Element.</p>
1578 </div><div class="long"><p>Set the width of this Element.</p>
1579 <h3 class="pa">Parameters</h3><ul><li><span class="pre">width</span> : Mixed<div class="sub-desc"><p>The new width. This may be one of:<div class="mdetail-params"><ul>
1580 <li>A Number specifying the new width in this Element's <a href="Ext.core.Element.html#defaultUnit" rel="Ext.core.Element#defaultUnit" class="docClass">defaultUnit</a>s (by default, pixels).</li>
1581 <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
1582 </ul></div></p>
1583 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1584 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1585 </li></ul></div></div></div><div id="method-setX" class="member ni"><a href="Ext.core.Element.html#method-setX" rel="method-setX" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setX" class="viewSource">view source</a></div><a name="setX"></a><a name="method-setX"></a><a href="Ext.core.Element.html#" rel="method-setX" class="cls expand">setX</a>(
1586 <span class="pre">Number The, [Boolean/Object animate]</span>)
1587  : Ext.core.Element</div><div class="description"><div class="short">Sets the X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coor...</div><div class="long"><p>Sets the X position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).</p>
1588 <h3 class="pa">Parameters</h3><ul><li><span class="pre">The</span> : Number<div class="sub-desc"><p>X position of the element</p>
1589 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) True for the default animation, or a standard Element animation config object</p>
1590 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1591 </li></ul></div></div></div><div id="method-setXY" class="member ni"><a href="Ext.core.Element.html#method-setXY" rel="method-setXY" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setXY" class="viewSource">view source</a></div><a name="setXY"></a><a name="method-setXY"></a><a href="Ext.core.Element.html#" rel="method-setXY" class="cls expand">setXY</a>(
1592 <span class="pre">Array pos, [Boolean/Object animate]</span>)
1593  : Ext.core.Element</div><div class="description"><div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
1594 The element must b...</div><div class="long"><p>Sets the position of the element in page coordinates, regardless of how the element is positioned.
1595 The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).</p>
1596 <h3 class="pa">Parameters</h3><ul><li><span class="pre">pos</span> : Array<div class="sub-desc"><p>Contains X &amp; Y [x, y] values for new position (coordinates are page-based)</p>
1597 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) True for the default animation, or a standard Element animation config object</p>
1598 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1599 </li></ul></div></div></div><div id="method-setY" class="member ni"><a href="Ext.core.Element.html#method-setY" rel="method-setY" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-setY" class="viewSource">view source</a></div><a name="setY"></a><a name="method-setY"></a><a href="Ext.core.Element.html#" rel="method-setY" class="cls expand">setY</a>(
1600 <span class="pre">Number The, [Boolean/Object animate]</span>)
1601  : Ext.core.Element</div><div class="description"><div class="short">Sets the Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coor...</div><div class="long"><p>Sets the Y position of the element based on page coordinates.  Element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).</p>
1602 <h3 class="pa">Parameters</h3><ul><li><span class="pre">The</span> : Number<div class="sub-desc"><p>Y position of the element</p>
1603 </div></li><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) True for the default animation, or a standard Element animation config object</p>
1604 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1605 </li></ul></div></div></div><div id="method-shift" class="member ni"><a href="Ext.core.Element.html#method-shift" rel="method-shift" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-shift" class="viewSource">view source</a></div><a name="shift"></a><a name="method-shift"></a><a href="Ext.core.Element.html#" rel="method-shift" class="cls expand">shift</a>(
1606 <span class="pre">Object options</span>)
1607  : Ext.Element</div><div class="description"><div class="short">@deprecated 4.0
1608 Animates the transition of any combination of an element's dimensions, xy position and/or opacity.
1609 An...</div><div class="long"><p>@deprecated 4.0
1610 Animates the transition of any combination of an element's dimensions, xy position and/or opacity.
1611 Any of these properties not specified in the config object will not be changed.  This effect
1612 requires that at least one new dimension, position or opacity setting must be passed in on
1613 the config object in order for the function to have any effect.
1614 Usage:</p>
1615
1616 <pre><code>// slide the element horizontally to x position 200 while changing the height and opacity
1617 el.shift({ x: 200, height: 50, opacity: .8 });
1618
1619 // common config options shown with default values.
1620 el.shift({
1621     width: [element&#39;s width],
1622     height: [element&#39;s height],
1623     x: [element&#39;s x position],
1624     y: [element&#39;s y position],
1625     opacity: [element&#39;s opacity],
1626     easing: 'easeOut',
1627     duration: .35
1628 });
1629 </code></pre>
1630
1631 <h3 class="pa">Parameters</h3><ul><li><span class="pre">options</span> : Object<div class="sub-desc"><p>Object literal with any of the Fx config options</p>
1632 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.Element</span>&nbsp; &nbsp;<p>The Element</p>
1633 </li></ul></div></div></div><div id="method-show" class="member ni"><a href="Ext.core.Element.html#method-show" rel="method-show" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-method-show" class="viewSource">view source</a></div><a name="show"></a><a name="method-show"></a><a href="Ext.core.Element.html#" rel="method-show" class="cls expand">show</a>(
1634 <span class="pre">[Boolean/Object animate]</span>)
1635  : Ext.core.Element</div><div class="description"><div class="short"><p>Show this element - Uses display mode to determine whether to use "display" or "visibility". See <a href="Ext.core.Element.html#setVisible" rel="Ext.core.Element#setVisible" class="docClass">setVisible</a>.</p>
1636 </div><div class="long"><p>Show this element - Uses display mode to determine whether to use "display" or "visibility". See <a href="Ext.core.Element.html#setVisible" rel="Ext.core.Element#setVisible" class="docClass">setVisible</a>.</p>
1637 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) true for the default animation or a standard Element animation config object</p>
1638 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1639 </li></ul></div></div></div><div id="method-slideIn" class="member ni"><a href="Ext.core.Element.html#method-slideIn" rel="method-slideIn" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-slideIn" class="viewSource">view source</a></div><a name="slideIn"></a><a name="method-slideIn"></a><a href="Ext.core.Element.html#" rel="method-slideIn" class="cls expand">slideIn</a>(
1640 <span class="pre">[String anchor], [Object options], Object slideOut</span>)
1641  : Ext.core.Element</div><div class="description"><div class="short">Slides the element into view.  An anchor point can be optionally passed to set the point of
1642 origin for the slide effe...</div><div class="long"><p>Slides the element into view.  An anchor point can be optionally passed to set the point of
1643 origin for the slide effect.  This function automatically handles wrapping the element with
1644 a fixed-size container if needed.  See the Fx class overview for valid anchor point options.
1645 Usage:</p>
1646
1647 <pre><code>// default: slide the element in from the top
1648 el.slideIn();
1649
1650 // custom: slide the element in from the right with a 2-second duration
1651 el.slideIn('r', { duration: 2 });
1652
1653 // common config options shown with default values
1654 el.slideIn('t', {
1655     easing: 'easeOut',
1656     duration: 500
1657 });
1658 </code></pre>
1659
1660 <h3 class="pa">Parameters</h3><ul><li><span class="pre">anchor</span> : String<div class="sub-desc"><p>(optional) One of the valid Fx anchor positions (defaults to top: 't')</p>
1661 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
1662 </div></li><li><span class="pre">slideOut</span> : Object<div class="sub-desc">
1663 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1664 </li></ul></div></div></div><div id="method-slideOut" class="member ni"><a href="Ext.core.Element.html#method-slideOut" rel="method-slideOut" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-slideOut" class="viewSource">view source</a></div><a name="slideOut"></a><a name="method-slideOut"></a><a href="Ext.core.Element.html#" rel="method-slideOut" class="cls expand">slideOut</a>(
1665 <span class="pre">[String anchor], [Object options]</span>)
1666  : Ext.core.Element</div><div class="description"><div class="short">Slides the element out of view.  An anchor point can be optionally passed to set the end point
1667 for the slide effect. ...</div><div class="long"><p>Slides the element out of view.  An anchor point can be optionally passed to set the end point
1668 for the slide effect.  When the effect is completed, the element will be hidden (visibility =
1669 'hidden') but block elements will still take up space in the document.  The element must be removed
1670 from the DOM using the 'remove' config option if desired.  This function automatically handles
1671 wrapping the element with a fixed-size container if needed.  See the Fx class overview for valid anchor point options.
1672 Usage:</p>
1673
1674 <pre><code>// default: slide the element out to the top
1675 el.slideOut();
1676
1677 // custom: slide the element out to the right with a 2-second duration
1678 el.slideOut('r', { duration: 2 });
1679
1680 // common config options shown with default values
1681 el.slideOut('t', {
1682     easing: 'easeOut',
1683     duration: 500,
1684     remove: false,
1685     useDisplay: false
1686 });
1687 </code></pre>
1688
1689 <h3 class="pa">Parameters</h3><ul><li><span class="pre">anchor</span> : String<div class="sub-desc"><p>(optional) One of the valid Fx anchor positions (defaults to top: 't')</p>
1690 </div></li><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
1691 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1692 </li></ul></div></div></div><div id="method-swallowEvent" class="member ni"><a href="Ext.core.Element.html#method-swallowEvent" rel="method-swallowEvent" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element-more.html#Ext-core.Element-method-swallowEvent" class="viewSource">view source</a></div><a name="swallowEvent"></a><a name="method-swallowEvent"></a><a href="Ext.core.Element.html#" rel="method-swallowEvent" class="cls expand">swallowEvent</a>(
1693 <span class="pre">String/Array eventName, [Boolean preventDefault]</span>)
1694  : Ext.core.Element</div><div class="description"><div class="short"><p>Stops the specified event(s) from bubbling and optionally prevents the default action</p>
1695 </div><div class="long"><p>Stops the specified event(s) from bubbling and optionally prevents the default action</p>
1696 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String/Array<div class="sub-desc"><p>an event / array of events to stop from bubbling</p>
1697 </div></li><li><span class="pre">preventDefault</span> : Boolean<div class="sub-desc"><p>(optional) true to prevent the default action too</p>
1698 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1699 </li></ul></div></div></div><div id="method-switchOff" class="member ni"><a href="Ext.core.Element.html#method-switchOff" rel="method-switchOff" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.anim.html#Ext-core.Element-method-switchOff" class="viewSource">view source</a></div><a name="switchOff"></a><a name="method-switchOff"></a><a href="Ext.core.Element.html#" rel="method-switchOff" class="cls expand">switchOff</a>(
1700 <span class="pre">[Object options]</span>)
1701  : Ext.core.Element</div><div class="description"><div class="short">Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television).
1702 Whe...</div><div class="long"><p>Blinks the element as if it was clicked and then collapses on its center (similar to switching off a television).
1703 When the effect is completed, the element will be hidden (visibility = 'hidden') but block elements will still
1704 take up space in the document. The element must be removed from the DOM using the 'remove' config option if desired.
1705 Usage:</p>
1706
1707 <pre><code>// default
1708 el.switchOff();
1709
1710 // all config options shown with default values
1711 el.switchOff({
1712     easing: 'easeIn',
1713     duration: .3,
1714     remove: false,
1715     useDisplay: false
1716 });
1717 </code></pre>
1718
1719 <h3 class="pa">Parameters</h3><ul><li><span class="pre">options</span> : Object<div class="sub-desc"><p>(optional) Object literal with any of the Fx config options</p>
1720 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The Element</p>
1721 </li></ul></div></div></div><div id="method-toggle" class="member ni"><a href="Ext.core.Element.html#method-toggle" rel="method-toggle" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx.html#Ext-core.Element-method-toggle" class="viewSource">view source</a></div><a name="toggle"></a><a name="method-toggle"></a><a href="Ext.core.Element.html#" rel="method-toggle" class="cls expand">toggle</a>(
1722 <span class="pre">[Boolean/Object animate]</span>)
1723  : Ext.core.Element</div><div class="description"><div class="short"><p>Toggles the element's visibility or display, depending on visibility mode.</p>
1724 </div><div class="long"><p>Toggles the element's visibility or display, depending on visibility mode.</p>
1725 <h3 class="pa">Parameters</h3><ul><li><span class="pre">animate</span> : Boolean/Object<div class="sub-desc"><p>(optional) True for the default animation, or a standard Element animation config object</p>
1726 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1727 </li></ul></div></div></div><div id="method-translatePoints" class="member ni"><a href="Ext.core.Element.html#method-translatePoints" rel="method-translatePoints" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.position.html#Ext-core.Element-method-translatePoints" class="viewSource">view source</a></div><a name="translatePoints"></a><a name="method-translatePoints"></a><a href="Ext.core.Element.html#" rel="method-translatePoints" class="cls expand">translatePoints</a>(
1728 <span class="pre">Number/Array x, [Number y]</span>)
1729  : Object</div><div class="description"><div class="short"><p>Translates the passed page coordinates into left/top css values for this element</p>
1730 </div><div class="long"><p>Translates the passed page coordinates into left/top css values for this element</p>
1731 <h3 class="pa">Parameters</h3><ul><li><span class="pre">x</span> : Number/Array<div class="sub-desc"><p>The page x or an array containing [x, y]</p>
1732 </div></li><li><span class="pre">y</span> : Number<div class="sub-desc"><p>(optional) The page y, required if x is not an array</p>
1733 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Object</span>&nbsp; &nbsp;<p>An object with left and top properties. e.g. {left: (value), top: (value)}</p>
1734 </li></ul></div></div></div><div id="method-un" class="member ni"><a href="Ext.core.Element.html#method-un" rel="method-un" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-un" class="viewSource">view source</a></div><a name="un"></a><a name="method-un"></a><a href="Ext.core.Element.html#" rel="method-un" class="cls expand">un</a>(
1735 <span class="pre">String eventName, Function fn, Object scope</span>)
1736  : Ext.core.Element</div><div class="description"><div class="short"><p>Removes an event handler from this element (see <a href="Ext.core.Element.html#removeListener" rel="Ext.core.Element#removeListener" class="docClass">removeListener</a> for additional notes).</p>
1737 </div><div class="long"><p>Removes an event handler from this element (see <a href="Ext.core.Element.html#removeListener" rel="Ext.core.Element#removeListener" class="docClass">removeListener</a> for additional notes).</p>
1738 <h3 class="pa">Parameters</h3><ul><li><span class="pre">eventName</span> : String<div class="sub-desc"><p>The name of the event from which to remove the handler.</p>
1739 </div></li><li><span class="pre">fn</span> : Function<div class="sub-desc"><p>The handler function to remove. <b>This must be a reference to the function passed into the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</b></p>
1740 </div></li><li><span class="pre">scope</span> : Object<div class="sub-desc"><p>If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
1741 then this must refer to the same object.</p>
1742 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1743 </li></ul></div></div></div><div id="method-unclip" class="member ni"><a href="Ext.core.Element.html#method-unclip" rel="method-unclip" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-unclip" class="viewSource">view source</a></div><a name="unclip"></a><a name="method-unclip"></a><a href="Ext.core.Element.html#" rel="method-unclip" class="cls expand">unclip</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Return clipping (overflow) to original clipping before <tt><a href="Ext.core.Element.html#clip" rel="Ext.core.Element#clip" class="docClass">clip</a></tt> was called</p>
1744 </div><div class="long"><p>Return clipping (overflow) to original clipping before <tt><a href="Ext.core.Element.html#clip" rel="Ext.core.Element#clip" class="docClass">clip</a></tt> was called</p>
1745 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1746 </li></ul></div></div></div><div id="method-unitizeBox" class="member ni"><a href="Ext.core.Element.html#method-unitizeBox" rel="method-unitizeBox" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.static.html#Ext-core.Element-method-unitizeBox" class="viewSource">view source</a></div><a name="unitizeBox"></a><a name="method-unitizeBox"></a><a href="Ext.core.Element.html#" rel="method-unitizeBox" class="cls expand">unitizeBox</a>(
1747 <span class="pre">Number|String box, String units</span>)
1748  : String</div><div class="description"><div class="short">Parses a number or string representing margin sizes into an object. Supports CSS-style margin declarations
1749 (e.g. 10, ...</div><div class="long"><p>Parses a number or string representing margin sizes into an object. Supports CSS-style margin declarations
1750 (e.g. 10, "10", "10 10", "10 10 10" and "10 10 10 10" are all valid options and would return the same result)</p>
1751 <h3 class="pa">Parameters</h3><ul><li><span class="pre">box</span> : Number|String<div class="sub-desc"><p>The encoded margins</p>
1752 </div></li><li><span class="pre">units</span> : String<div class="sub-desc"><p>The type of units to add</p>
1753 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">String</span>&nbsp; &nbsp;<p>An string with unitized (px if units is not specified) metrics for top, right, bottom and left</p>
1754 </li></ul></div></div></div><div id="method-unmask" class="member ni"><a href="Ext.core.Element.html#method-unmask" rel="method-unmask" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.fx-more.html#Ext-core.Element-method-unmask" class="viewSource">view source</a></div><a name="unmask"></a><a name="method-unmask"></a><a href="Ext.core.Element.html#" rel="method-unmask" class="cls expand">unmask</a> : void</div><div class="description"><div class="short"><p>Removes a previously applied mask.</p>
1755 </div><div class="long"><p>Removes a previously applied mask.</p>
1756 <h3 class="pa">Returns</h3><ul><li><span class="pre">void</span>&nbsp; &nbsp;
1757 </li></ul></div></div></div><div id="method-unselectable" class="member ni"><a href="Ext.core.Element.html#method-unselectable" rel="method-unselectable" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.style.html#Ext-core.Element-method-unselectable" class="viewSource">view source</a></div><a name="unselectable"></a><a name="method-unselectable"></a><a href="Ext.core.Element.html#" rel="method-unselectable" class="cls expand">unselectable</a> : Ext.core.Element</div><div class="description"><div class="short"><p>Disables text selection for this element (normalized across browsers)</p>
1758 </div><div class="long"><p>Disables text selection for this element (normalized across browsers)</p>
1759 <h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1760 </li></ul></div></div></div><div id="method-up" class="member ni"><a href="Ext.core.Element.html#method-up" rel="method-up" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.traversal.html#Ext-core.Element-method-up" class="viewSource">view source</a></div><a name="up"></a><a name="method-up"></a><a href="Ext.core.Element.html#" rel="method-up" class="cls expand">up</a>(
1761 <span class="pre">String selector, [Number/Mixed maxDepth]</span>)
1762  : Ext.core.Element</div><div class="description"><div class="short">Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first...</div><div class="long"><p>Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).
1763 This is a shortcut for findParentNode() that always returns an Ext.core.Element.</p>
1764 <h3 class="pa">Parameters</h3><ul><li><span class="pre">selector</span> : String<div class="sub-desc"><p>The simple selector to test</p>
1765 </div></li><li><span class="pre">maxDepth</span> : Number/Mixed<div class="sub-desc"><p>(optional) The max depth to</p>
1766
1767 <pre><code>        search as a number or element (defaults to 10 || document.body)
1768 </code></pre>
1769 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>The matching DOM node (or null if no match was found)</p>
1770 </li></ul></div></div></div><div id="method-update" class="member ni"><a href="Ext.core.Element.html#method-update" rel="method-update" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-method-update" class="viewSource">view source</a></div><a name="update"></a><a name="method-update"></a><a href="Ext.core.Element.html#" rel="method-update" class="cls expand">update</a>(
1771 <span class="pre">String html</span>)
1772  : Ext.core.Element</div><div class="description"><div class="short"><p>Update the innerHTML of this element</p>
1773 </div><div class="long"><p>Update the innerHTML of this element</p>
1774 <h3 class="pa">Parameters</h3><ul><li><span class="pre">html</span> : String<div class="sub-desc"><p>The new HTML</p>
1775 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">Ext.core.Element</span>&nbsp; &nbsp;<p>this</p>
1776 </li></ul></div></div></div><div id="method-wrap" class="member ni"><a href="Ext.core.Element.html#method-wrap" rel="method-wrap" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element.insertion.html#Ext-core.Element-method-wrap" class="viewSource">view source</a></div><a name="wrap"></a><a name="method-wrap"></a><a href="Ext.core.Element.html#" rel="method-wrap" class="cls expand">wrap</a>(
1777 <span class="pre">[Object config], [Boolean returnDom]</span>)
1778  : HTMLElement/Element</div><div class="description"><div class="short"><p>Creates and wraps this element with another element</p>
1779 </div><div class="long"><p>Creates and wraps this element with another element</p>
1780 <h3 class="pa">Parameters</h3><ul><li><span class="pre">config</span> : Object<div class="sub-desc"><p>(optional) DomHelper element config object for the wrapper element or null for an empty div</p>
1781 </div></li><li><span class="pre">returnDom</span> : Boolean<div class="sub-desc"><p>(optional) True to return the raw DOM element instead of Ext.core.Element</p>
1782 </div></li></ul><h3 class="pa">Returns</h3><ul><li><span class="pre">HTMLElement/Element</span>&nbsp; &nbsp;<p>The newly created wrapper element</p>
1783 </li></ul></div></div></div></div><div class="m-events"><a name="events"></a><div class="definedBy">Defined By</div><h3 class="evt p">Events</h3><div id="event-DOMActivate" class="member f ni"><a href="Ext.core.Element.html#event-DOMActivate" rel="event-DOMActivate" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMActivate" class="viewSource">view source</a></div><a name="DOMActivate"></a><a name="event-DOMActivate"></a><a href="Ext.core.Element.html#" rel="event-DOMActivate" class="cls expand">DOMActivate</a>(
1784 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1785 </div><div class="description"><div class="short"><p>Where supported. Fires when an element is activated, for instance, through a mouse click or a keypress.</p>
1786 </div><div class="long"><p>Where supported. Fires when an element is activated, for instance, through a mouse click or a keypress.</p>
1787 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1788 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1789 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1790 </div></li></ul></div></div></div><div id="event-DOMAttrModified" class="member ni"><a href="Ext.core.Element.html#event-DOMAttrModified" rel="event-DOMAttrModified" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMAttrModified" class="viewSource">view source</a></div><a name="DOMAttrModified"></a><a name="event-DOMAttrModified"></a><a href="Ext.core.Element.html#" rel="event-DOMAttrModified" class="cls expand">DOMAttrModified</a>(
1791 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1792 </div><div class="description"><div class="short"><p>Where supported. Fires when an attribute has been modified.</p>
1793 </div><div class="long"><p>Where supported. Fires when an attribute has been modified.</p>
1794 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1795 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1796 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1797 </div></li></ul></div></div></div><div id="event-DOMCharacterDataModified" class="member ni"><a href="Ext.core.Element.html#event-DOMCharacterDataModified" rel="event-DOMCharacterDataModified" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMCharacterDataModified" class="viewSource">view source</a></div><a name="DOMCharacterDataModified"></a><a name="event-DOMCharacterDataModified"></a><a href="Ext.core.Element.html#" rel="event-DOMCharacterDataModified" class="cls expand">DOMCharacterDataModified</a>(
1798 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1799 </div><div class="description"><div class="short"><p>Where supported. Fires when the character data has been modified.</p>
1800 </div><div class="long"><p>Where supported. Fires when the character data has been modified.</p>
1801 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1802 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1803 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1804 </div></li></ul></div></div></div><div id="event-DOMFocusIn" class="member ni"><a href="Ext.core.Element.html#event-DOMFocusIn" rel="event-DOMFocusIn" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMFocusIn" class="viewSource">view source</a></div><a name="DOMFocusIn"></a><a name="event-DOMFocusIn"></a><a href="Ext.core.Element.html#" rel="event-DOMFocusIn" class="cls expand">DOMFocusIn</a>(
1805 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1806 </div><div class="description"><div class="short"><p>Where supported. Similar to HTML focus event, but can be applied to any focusable element.</p>
1807 </div><div class="long"><p>Where supported. Similar to HTML focus event, but can be applied to any focusable element.</p>
1808 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1809 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1810 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1811 </div></li></ul></div></div></div><div id="event-DOMFocusOut" class="member ni"><a href="Ext.core.Element.html#event-DOMFocusOut" rel="event-DOMFocusOut" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMFocusOut" class="viewSource">view source</a></div><a name="DOMFocusOut"></a><a name="event-DOMFocusOut"></a><a href="Ext.core.Element.html#" rel="event-DOMFocusOut" class="cls expand">DOMFocusOut</a>(
1812 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1813 </div><div class="description"><div class="short"><p>Where supported. Similar to HTML blur event, but can be applied to any focusable element.</p>
1814 </div><div class="long"><p>Where supported. Similar to HTML blur event, but can be applied to any focusable element.</p>
1815 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1816 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1817 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1818 </div></li></ul></div></div></div><div id="event-DOMNodeInserted" class="member ni"><a href="Ext.core.Element.html#event-DOMNodeInserted" rel="event-DOMNodeInserted" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMNodeInserted" class="viewSource">view source</a></div><a name="DOMNodeInserted"></a><a name="event-DOMNodeInserted"></a><a href="Ext.core.Element.html#" rel="event-DOMNodeInserted" class="cls expand">DOMNodeInserted</a>(
1819 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1820 </div><div class="description"><div class="short"><p>Where supported. Fires when a node has been added as a child of another node.</p>
1821 </div><div class="long"><p>Where supported. Fires when a node has been added as a child of another node.</p>
1822 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1823 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1824 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1825 </div></li></ul></div></div></div><div id="event-DOMNodeInsertedIntoDocument" class="member ni"><a href="Ext.core.Element.html#event-DOMNodeInsertedIntoDocument" rel="event-DOMNodeInsertedIntoDocument" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMNodeInsertedIntoDocument" class="viewSource">view source</a></div><a name="DOMNodeInsertedIntoDocument"></a><a name="event-DOMNodeInsertedIntoDocument"></a><a href="Ext.core.Element.html#" rel="event-DOMNodeInsertedIntoDocument" class="cls expand">DOMNodeInsertedIntoDocument</a>(
1826 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1827 </div><div class="description"><div class="short"><p>Where supported. Fires when a node is being inserted into a document.</p>
1828 </div><div class="long"><p>Where supported. Fires when a node is being inserted into a document.</p>
1829 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1830 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1831 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1832 </div></li></ul></div></div></div><div id="event-DOMNodeRemoved" class="member ni"><a href="Ext.core.Element.html#event-DOMNodeRemoved" rel="event-DOMNodeRemoved" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMNodeRemoved" class="viewSource">view source</a></div><a name="DOMNodeRemoved"></a><a name="event-DOMNodeRemoved"></a><a href="Ext.core.Element.html#" rel="event-DOMNodeRemoved" class="cls expand">DOMNodeRemoved</a>(
1833 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1834 </div><div class="description"><div class="short"><p>Where supported. Fires when a descendant node of the element is removed.</p>
1835 </div><div class="long"><p>Where supported. Fires when a descendant node of the element is removed.</p>
1836 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1837 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1838 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1839 </div></li></ul></div></div></div><div id="event-DOMNodeRemovedFromDocument" class="member ni"><a href="Ext.core.Element.html#event-DOMNodeRemovedFromDocument" rel="event-DOMNodeRemovedFromDocument" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMNodeRemovedFromDocument" class="viewSource">view source</a></div><a name="DOMNodeRemovedFromDocument"></a><a name="event-DOMNodeRemovedFromDocument"></a><a href="Ext.core.Element.html#" rel="event-DOMNodeRemovedFromDocument" class="cls expand">DOMNodeRemovedFromDocument</a>(
1840 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1841 </div><div class="description"><div class="short"><p>Where supported. Fires when a node is being removed from a document.</p>
1842 </div><div class="long"><p>Where supported. Fires when a node is being removed from a document.</p>
1843 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1844 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1845 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1846 </div></li></ul></div></div></div><div id="event-DOMSubtreeModified" class="member ni"><a href="Ext.core.Element.html#event-DOMSubtreeModified" rel="event-DOMSubtreeModified" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-DOMSubtreeModified" class="viewSource">view source</a></div><a name="DOMSubtreeModified"></a><a name="event-DOMSubtreeModified"></a><a href="Ext.core.Element.html#" rel="event-DOMSubtreeModified" class="cls expand">DOMSubtreeModified</a>(
1847 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1848 </div><div class="description"><div class="short"><p>Where supported. Fires when the subtree is modified.</p>
1849 </div><div class="long"><p>Where supported. Fires when the subtree is modified.</p>
1850 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1851 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1852 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1853 </div></li></ul></div></div></div><div id="event-abort" class="member ni"><a href="Ext.core.Element.html#event-abort" rel="event-abort" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-abort" class="viewSource">view source</a></div><a name="abort"></a><a name="event-abort"></a><a href="Ext.core.Element.html#" rel="event-abort" class="cls expand">abort</a>(
1854 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1855 </div><div class="description"><div class="short"><p>Fires when an object/image is stopped from loading before completely loaded.</p>
1856 </div><div class="long"><p>Fires when an object/image is stopped from loading before completely loaded.</p>
1857 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1858 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1859 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1860 </div></li></ul></div></div></div><div id="event-blur" class="member ni"><a href="Ext.core.Element.html#event-blur" rel="event-blur" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-blur" class="viewSource">view source</a></div><a name="blur"></a><a name="event-blur"></a><a href="Ext.core.Element.html#" rel="event-blur" class="cls expand">blur</a>(
1861 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1862 </div><div class="description"><div class="short"><p>Fires when an element loses focus either via the pointing device or by tabbing navigation.</p>
1863 </div><div class="long"><p>Fires when an element loses focus either via the pointing device or by tabbing navigation.</p>
1864 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1865 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1866 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1867 </div></li></ul></div></div></div><div id="event-change" class="member ni"><a href="Ext.core.Element.html#event-change" rel="event-change" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-change" class="viewSource">view source</a></div><a name="change"></a><a name="event-change"></a><a href="Ext.core.Element.html#" rel="event-change" class="cls expand">change</a>(
1868 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1869 </div><div class="description"><div class="short"><p>Fires when a control loses the input focus and its value has been modified since gaining focus.</p>
1870 </div><div class="long"><p>Fires when a control loses the input focus and its value has been modified since gaining focus.</p>
1871 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1872 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1873 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1874 </div></li></ul></div></div></div><div id="event-click" class="member ni"><a href="Ext.core.Element.html#event-click" rel="event-click" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-click" class="viewSource">view source</a></div><a name="click"></a><a name="event-click"></a><a href="Ext.core.Element.html#" rel="event-click" class="cls expand">click</a>(
1875 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1876 </div><div class="description"><div class="short"><p>Fires when a mouse click is detected within the element.</p>
1877 </div><div class="long"><p>Fires when a mouse click is detected within the element.</p>
1878 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1879 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1880 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1881 </div></li></ul></div></div></div><div id="event-contextmenu" class="member ni"><a href="Ext.core.Element.html#event-contextmenu" rel="event-contextmenu" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-contextmenu" class="viewSource">view source</a></div><a name="contextmenu"></a><a name="event-contextmenu"></a><a href="Ext.core.Element.html#" rel="event-contextmenu" class="cls expand">contextmenu</a>(
1882 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1883 </div><div class="description"><div class="short"><p>Fires when a right click is detected within the element.</p>
1884 </div><div class="long"><p>Fires when a right click is detected within the element.</p>
1885 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1886 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1887 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1888 </div></li></ul></div></div></div><div id="event-dblclick" class="member ni"><a href="Ext.core.Element.html#event-dblclick" rel="event-dblclick" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-dblclick" class="viewSource">view source</a></div><a name="dblclick"></a><a name="event-dblclick"></a><a href="Ext.core.Element.html#" rel="event-dblclick" class="cls expand">dblclick</a>(
1889 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1890 </div><div class="description"><div class="short"><p>Fires when a mouse double click is detected within the element.</p>
1891 </div><div class="long"><p>Fires when a mouse double click is detected within the element.</p>
1892 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1893 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1894 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1895 </div></li></ul></div></div></div><div id="event-error" class="member ni"><a href="Ext.core.Element.html#event-error" rel="event-error" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-error" class="viewSource">view source</a></div><a name="error"></a><a name="event-error"></a><a href="Ext.core.Element.html#" rel="event-error" class="cls expand">error</a>(
1896 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1897 </div><div class="description"><div class="short"><p>Fires when an object/image/frame cannot be loaded properly.</p>
1898 </div><div class="long"><p>Fires when an object/image/frame cannot be loaded properly.</p>
1899 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1900 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1901 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1902 </div></li></ul></div></div></div><div id="event-focus" class="member ni"><a href="Ext.core.Element.html#event-focus" rel="event-focus" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-focus" class="viewSource">view source</a></div><a name="focus"></a><a name="event-focus"></a><a href="Ext.core.Element.html#" rel="event-focus" class="cls expand">focus</a>(
1903 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1904 </div><div class="description"><div class="short"><p>Fires when an element receives focus either via the pointing device or by tab navigation.</p>
1905 </div><div class="long"><p>Fires when an element receives focus either via the pointing device or by tab navigation.</p>
1906 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1907 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1908 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1909 </div></li></ul></div></div></div><div id="event-keydown" class="member ni"><a href="Ext.core.Element.html#event-keydown" rel="event-keydown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-keydown" class="viewSource">view source</a></div><a name="keydown"></a><a name="event-keydown"></a><a href="Ext.core.Element.html#" rel="event-keydown" class="cls expand">keydown</a>(
1910 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1911 </div><div class="description"><div class="short"><p>Fires when a keydown is detected within the element.</p>
1912 </div><div class="long"><p>Fires when a keydown is detected within the element.</p>
1913 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1914 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1915 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1916 </div></li></ul></div></div></div><div id="event-keypress" class="member ni"><a href="Ext.core.Element.html#event-keypress" rel="event-keypress" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-keypress" class="viewSource">view source</a></div><a name="keypress"></a><a name="event-keypress"></a><a href="Ext.core.Element.html#" rel="event-keypress" class="cls expand">keypress</a>(
1917 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1918 </div><div class="description"><div class="short"><p>Fires when a keypress is detected within the element.</p>
1919 </div><div class="long"><p>Fires when a keypress is detected within the element.</p>
1920 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1921 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1922 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1923 </div></li></ul></div></div></div><div id="event-keyup" class="member ni"><a href="Ext.core.Element.html#event-keyup" rel="event-keyup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-keyup" class="viewSource">view source</a></div><a name="keyup"></a><a name="event-keyup"></a><a href="Ext.core.Element.html#" rel="event-keyup" class="cls expand">keyup</a>(
1924 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1925 </div><div class="description"><div class="short"><p>Fires when a keyup is detected within the element.</p>
1926 </div><div class="long"><p>Fires when a keyup is detected within the element.</p>
1927 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1928 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1929 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1930 </div></li></ul></div></div></div><div id="event-load" class="member ni"><a href="Ext.core.Element.html#event-load" rel="event-load" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-load" class="viewSource">view source</a></div><a name="load"></a><a name="event-load"></a><a href="Ext.core.Element.html#" rel="event-load" class="cls expand">load</a>(
1931 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1932 </div><div class="description"><div class="short">Fires when the user agent finishes loading all content within the element. Only supported by window, frames, objects ...</div><div class="long"><p>Fires when the user agent finishes loading all content within the element. Only supported by window, frames, objects and images.</p>
1933 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1934 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1935 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1936 </div></li></ul></div></div></div><div id="event-mousedown" class="member ni"><a href="Ext.core.Element.html#event-mousedown" rel="event-mousedown" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-mousedown" class="viewSource">view source</a></div><a name="mousedown"></a><a name="event-mousedown"></a><a href="Ext.core.Element.html#" rel="event-mousedown" class="cls expand">mousedown</a>(
1937 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1938 </div><div class="description"><div class="short"><p>Fires when a mousedown is detected within the element.</p>
1939 </div><div class="long"><p>Fires when a mousedown is detected within the element.</p>
1940 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1941 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1942 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1943 </div></li></ul></div></div></div><div id="event-mouseenter" class="member ni"><a href="Ext.core.Element.html#event-mouseenter" rel="event-mouseenter" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-mouseenter" class="viewSource">view source</a></div><a name="mouseenter"></a><a name="event-mouseenter"></a><a href="Ext.core.Element.html#" rel="event-mouseenter" class="cls expand">mouseenter</a>(
1944 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1945 </div><div class="description"><div class="short"><p>Fires when the mouse enters the element.</p>
1946 </div><div class="long"><p>Fires when the mouse enters the element.</p>
1947 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1948 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1949 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1950 </div></li></ul></div></div></div><div id="event-mouseleave" class="member ni"><a href="Ext.core.Element.html#event-mouseleave" rel="event-mouseleave" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-mouseleave" class="viewSource">view source</a></div><a name="mouseleave"></a><a name="event-mouseleave"></a><a href="Ext.core.Element.html#" rel="event-mouseleave" class="cls expand">mouseleave</a>(
1951 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1952 </div><div class="description"><div class="short"><p>Fires when the mouse leaves the element.</p>
1953 </div><div class="long"><p>Fires when the mouse leaves the element.</p>
1954 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1955 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1956 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1957 </div></li></ul></div></div></div><div id="event-mousemove" class="member ni"><a href="Ext.core.Element.html#event-mousemove" rel="event-mousemove" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-mousemove" class="viewSource">view source</a></div><a name="mousemove"></a><a name="event-mousemove"></a><a href="Ext.core.Element.html#" rel="event-mousemove" class="cls expand">mousemove</a>(
1958 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1959 </div><div class="description"><div class="short"><p>Fires when a mousemove is detected with the element.</p>
1960 </div><div class="long"><p>Fires when a mousemove is detected with the element.</p>
1961 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1962 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1963 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1964 </div></li></ul></div></div></div><div id="event-mouseout" class="member ni"><a href="Ext.core.Element.html#event-mouseout" rel="event-mouseout" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-mouseout" class="viewSource">view source</a></div><a name="mouseout"></a><a name="event-mouseout"></a><a href="Ext.core.Element.html#" rel="event-mouseout" class="cls expand">mouseout</a>(
1965 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1966 </div><div class="description"><div class="short"><p>Fires when a mouseout is detected with the element.</p>
1967 </div><div class="long"><p>Fires when a mouseout is detected with the element.</p>
1968 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1969 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1970 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1971 </div></li></ul></div></div></div><div id="event-mouseover" class="member ni"><a href="Ext.core.Element.html#event-mouseover" rel="event-mouseover" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-mouseover" class="viewSource">view source</a></div><a name="mouseover"></a><a name="event-mouseover"></a><a href="Ext.core.Element.html#" rel="event-mouseover" class="cls expand">mouseover</a>(
1972 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1973 </div><div class="description"><div class="short"><p>Fires when a mouseover is detected within the element.</p>
1974 </div><div class="long"><p>Fires when a mouseover is detected within the element.</p>
1975 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1976 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1977 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1978 </div></li></ul></div></div></div><div id="event-mouseup" class="member ni"><a href="Ext.core.Element.html#event-mouseup" rel="event-mouseup" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-mouseup" class="viewSource">view source</a></div><a name="mouseup"></a><a name="event-mouseup"></a><a href="Ext.core.Element.html#" rel="event-mouseup" class="cls expand">mouseup</a>(
1979 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1980 </div><div class="description"><div class="short"><p>Fires when a mouseup is detected within the element.</p>
1981 </div><div class="long"><p>Fires when a mouseup is detected within the element.</p>
1982 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1983 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1984 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1985 </div></li></ul></div></div></div><div id="event-reset" class="member ni"><a href="Ext.core.Element.html#event-reset" rel="event-reset" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-reset" class="viewSource">view source</a></div><a name="reset"></a><a name="event-reset"></a><a href="Ext.core.Element.html#" rel="event-reset" class="cls expand">reset</a>(
1986 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1987 </div><div class="description"><div class="short"><p>Fires when a form is reset.</p>
1988 </div><div class="long"><p>Fires when a form is reset.</p>
1989 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1990 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1991 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1992 </div></li></ul></div></div></div><div id="event-resize" class="member ni"><a href="Ext.core.Element.html#event-resize" rel="event-resize" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-resize" class="viewSource">view source</a></div><a name="resize"></a><a name="event-resize"></a><a href="Ext.core.Element.html#" rel="event-resize" class="cls expand">resize</a>(
1993 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
1994 </div><div class="description"><div class="short"><p>Fires when a document view is resized.</p>
1995 </div><div class="long"><p>Fires when a document view is resized.</p>
1996 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
1997 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
1998 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
1999 </div></li></ul></div></div></div><div id="event-scroll" class="member ni"><a href="Ext.core.Element.html#event-scroll" rel="event-scroll" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-scroll" class="viewSource">view source</a></div><a name="scroll"></a><a name="event-scroll"></a><a href="Ext.core.Element.html#" rel="event-scroll" class="cls expand">scroll</a>(
2000 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
2001 </div><div class="description"><div class="short"><p>Fires when a document view is scrolled.</p>
2002 </div><div class="long"><p>Fires when a document view is scrolled.</p>
2003 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
2004 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
2005 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
2006 </div></li></ul></div></div></div><div id="event-select" class="member ni"><a href="Ext.core.Element.html#event-select" rel="event-select" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-select" class="viewSource">view source</a></div><a name="select"></a><a name="event-select"></a><a href="Ext.core.Element.html#" rel="event-select" class="cls expand">select</a>(
2007 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
2008 </div><div class="description"><div class="short"><p>Fires when a user selects some text in a text field, including input and textarea.</p>
2009 </div><div class="long"><p>Fires when a user selects some text in a text field, including input and textarea.</p>
2010 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
2011 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
2012 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
2013 </div></li></ul></div></div></div><div id="event-submit" class="member ni"><a href="Ext.core.Element.html#event-submit" rel="event-submit" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-submit" class="viewSource">view source</a></div><a name="submit"></a><a name="event-submit"></a><a href="Ext.core.Element.html#" rel="event-submit" class="cls expand">submit</a>(
2014 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
2015 </div><div class="description"><div class="short"><p>Fires when a form is submitted.</p>
2016 </div><div class="long"><p>Fires when a form is submitted.</p>
2017 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
2018 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
2019 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
2020 </div></li></ul></div></div></div><div id="event-unload" class="member ni"><a href="Ext.core.Element.html#event-unload" rel="event-unload" class="expand more ar"><span>&nbsp;</span></a><div class="title"><div class="meta"><a href="Ext.core.Element.html" class="definedIn docClass">Ext.core.Element</a><br/><a href="../source/Element2.html#Ext-core.Element-event-unload" class="viewSource">view source</a></div><a name="unload"></a><a name="event-unload"></a><a href="Ext.core.Element.html#" rel="event-unload" class="cls expand">unload</a>(
2021 <span class="pre">Ext.EventObject e, HtmlElement t, Object o</span>)
2022 </div><div class="description"><div class="short">Fires when the user agent removes all content from a window or frame. For elements, it fires when the target element ...</div><div class="long"><p>Fires when the user agent removes all content from a window or frame. For elements, it fires when the target element or any of its content has been removed.</p>
2023 <h3 class="pa">Parameters</h3><ul><li><span class="pre">e</span> : Ext.EventObject<div class="sub-desc"><p>The <a href="Ext.EventObject.html" rel="Ext.EventObject" class="docClass">Ext.EventObject</a> encapsulating the DOM event.</p>
2024 </div></li><li><span class="pre">t</span> : HtmlElement<div class="sub-desc"><p>The target of the event.</p>
2025 </div></li><li><span class="pre">o</span> : Object<div class="sub-desc"><p>The options configuration passed to the <a href="Ext.core.Element.html#addListener" rel="Ext.core.Element#addListener" class="docClass">addListener</a> call.</p>
2026 </div></li></ul></div></div></div></div></div></div></div><div id="pageContent"></div></div></div></div></body></html>