1 <div class="body-wrap" xmlns:ext="http://www.extjs.com"><div class="top-tools"><a class="inner-link" href="#Ext.Layer-props"><img src="resources/images/default/s.gif" class="item-icon icon-prop">Properties</a> <a class="inner-link" href="#Ext.Layer-methods"><img src="resources/images/default/s.gif" class="item-icon icon-method">Methods</a> <a class="inner-link" href="#Ext.Layer-events"><img src="resources/images/default/s.gif" class="item-icon icon-event">Events</a> <a class="inner-link" href="#Ext.Layer-configs"><img src="resources/images/default/s.gif" class="item-icon icon-config">Config Options</a> <a class="bookmark" href="../docs/?class=Ext.Layer"><img src="resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a> </div><div class="inheritance res-block"><pre class="res-block-inner"><a href="output/Ext.Element.html" ext:member="" ext:cls="Ext.Element">Element</a> <img src="resources/elbow-end.gif">Layer</pre></div><h1>Class <a href="source/Layer.html#cls-Ext.Layer">Ext.Layer</a></h1><table cellspacing="0"><tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr><tr><td class="label">Defined In:</td><td class="hd-info">Layer.js</td></tr><tr><td class="label">Class:</td><td class="hd-info"><a href="source/Layer.html#cls-Ext.Layer">Layer</a></td></tr><tr><td class="label">Extends:</td><td class="hd-info"><a href="output/Ext.Element.html" ext:cls="Ext.Element" ext:member="">Element</a></td></tr><tr><td class="hd-info"></td></tr></table><div class="description">An extended <a href="output/Ext.Element.html" ext:cls="Ext.Element">Ext.Element</a> object that supports a shadow and shim, constrain to viewport and
2 automatic maintaining of shadow/shim positions.</div><div class="hr"></div><a id="Ext.Layer-configs"></a><h2>Config Options</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Config Options</th><th class="msource-header">Defined By</th></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-cls"></a><b><a href="source/Layer.html#cfg-Ext.Layer-cls">cls</a></b> : String<div class="mdesc">CSS class to add to the element</div></td><td class="msource">Layer</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-constrain"></a><b><a href="source/Layer.html#cfg-Ext.Layer-constrain">constrain</a></b> : Boolean<div class="mdesc">False to disable constrain to viewport (defaults to true)</div></td><td class="msource">Layer</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-dh"></a><b><a href="source/Layer.html#cfg-Ext.Layer-dh">dh</a></b> : Object<div class="mdesc">DomHelper object config to create element with (defaults to {tag: 'div', cls: 'x-layer'}).</div></td><td class="msource">Layer</td></tr><tr class="config-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-shadow"></a><b><a href="source/Layer.html#cfg-Ext.Layer-shadow">shadow</a></b> : String/Boolean<div class="mdesc"><div class="short">True to automatically create an Ext.Shadow, or a string indicating the
\r
3 shadow's display Ext.Shadow.mode. False to dis...</div><div class="long">True to automatically create an <a href="output/Ext.Shadow.html" ext:cls="Ext.Shadow">Ext.Shadow</a>, or a string indicating the
4 shadow's display <a href="output/Ext.Shadow.html#Ext.Shadow-mode" ext:member="mode" ext:cls="Ext.Shadow">Ext.Shadow.mode</a>. False to disable the shadow. (defaults to false)</div></div></td><td class="msource">Layer</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-shadowOffset"></a><b><a href="source/Layer.html#cfg-Ext.Layer-shadowOffset">shadowOffset</a></b> : Number<div class="mdesc">Number of pixels to offset the shadow (defaults to 4)</div></td><td class="msource">Layer</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-shim"></a><b><a href="source/Layer.html#cfg-Ext.Layer-shim">shim</a></b> : Boolean<div class="mdesc">False to disable the iframe shim in browsers which need one (defaults to true)</div></td><td class="msource">Layer</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-useDisplay"></a><b><a href="source/Layer.html#cfg-Ext.Layer-useDisplay">useDisplay</a></b> : Boolean<div class="mdesc">Defaults to use css offsets to hide the Layer. Specify <tt>true</tt>
5 to use css style <tt>'display:none;'</tt> to hide the Layer.</div></td><td class="msource">Layer</td></tr><tr class="config-row "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-zindex"></a><b><a href="source/Layer.html#cfg-Ext.Layer-zindex">zindex</a></b> : Number<div class="mdesc">Starting z-index (defaults to 11000)</div></td><td class="msource">Layer</td></tr></tbody></table><a id="Ext.Layer-props"></a><h2>Public Properties</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Property</th><th class="msource-header">Defined By</th></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DISPLAY"></a><b><a href="source/Element.fx.html#prop-Ext.Element-DISPLAY">DISPLAY</a></b> : Number<div class="mdesc">Visibility mode constant for use with <a href="output/Ext.Element.html#Ext.Element-setVisibilityMode" ext:member="setVisibilityMode" ext:cls="Ext.Element">setVisibilityMode</a>. Use display to hide element</div></td><td class="msource"><a href="output/Ext.Element.html#DISPLAY" ext:member="#DISPLAY" ext:cls="Ext.Element">Element</a></td></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-VISIBILITY"></a><b><a href="source/Element.fx.html#prop-Ext.Element-VISIBILITY">VISIBILITY</a></b> : Number<div class="mdesc">Visibility mode constant for use with <a href="output/Ext.Element.html#Ext.Element-setVisibilityMode" ext:member="setVisibilityMode" ext:cls="Ext.Element">setVisibilityMode</a>. Use visibility to hide element</div></td><td class="msource"><a href="output/Ext.Element.html#VISIBILITY" ext:member="#VISIBILITY" ext:cls="Ext.Element">Element</a></td></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-autoBoxAdjust"></a><b><a href="source/Element.html#prop-Ext.Element-autoBoxAdjust">autoBoxAdjust</a></b> : Object<div class="mdesc">true to automatically adjust width and height settings for box-model issues (default to true)</div></td><td class="msource"><a href="output/Ext.Element.html#autoBoxAdjust" ext:member="#autoBoxAdjust" ext:cls="Ext.Element">Element</a></td></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-defaultUnit"></a><b><a href="source/Element.html#prop-Ext.Element-defaultUnit">defaultUnit</a></b> : String<div class="mdesc">The default unit to append to CSS values where a unit isn't provided (defaults to px).</div></td><td class="msource"><a href="output/Ext.Element.html#defaultUnit" ext:member="#defaultUnit" ext:cls="Ext.Element">Element</a></td></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-dom"></a><b><a href="source/Element.html#prop-Ext.Element-dom">dom</a></b> : HTMLElement<div class="mdesc">The DOM element</div></td><td class="msource"><a href="output/Ext.Element.html#dom" ext:member="#dom" ext:cls="Ext.Element">Element</a></td></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-id"></a><b><a href="source/Element.html#prop-Ext.Element-id">id</a></b> : String<div class="mdesc">The DOM element ID</div></td><td class="msource"><a href="output/Ext.Element.html#id" ext:member="#id" ext:cls="Ext.Element">Element</a></td></tr><tr class="property-row inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-originalDisplay"></a><b><a href="source/Element.fx.html#prop-Ext.Element-originalDisplay">originalDisplay</a></b> : String<div class="mdesc">The element's default display mode (defaults to "")</div></td><td class="msource"><a href="output/Ext.Element.html#originalDisplay" ext:member="#originalDisplay" ext:cls="Ext.Element">Element</a></td></tr></tbody></table><a id="Ext.Layer-methods"></a><h2>Public Methods</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Method</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-Layer"></a><b><a href="source/Layer.html#cls-Ext.Layer">Layer</a></b>( <code>Object config</code>, <span title="Optional" class="optional">[<code>String/HTMLElement existingEl</code>]</span> )
\r
6 <div class="mdesc"><div class="short"></div><div class="long"><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>config</code> : Object<div class="sub-desc">An object with config options.</div></li><li><code>existingEl</code> : String/HTMLElement<div class="sub-desc">(optional) Uses an existing DOM element. If the element is not found it creates it.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource">Layer</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-addClass"></a><b><a href="source/Element.style.html#method-Ext.Element-addClass">addClass</a></b>( <code>String/Array className</code> )
\r
8 Ext.Element<div class="mdesc"><div class="short">Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.</div><div class="long">Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to add, or an array of classes</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#addClass" ext:member="#addClass" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-addClassOnClick"></a><b><a href="source/Element.style-more.html#method-Ext.Element-addClassOnClick">addClassOnClick</a></b>( <code>String className</code> )
\r
10 Ext.Element<div class="mdesc"><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">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)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>className</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#addClassOnClick" ext:member="#addClassOnClick" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-addClassOnFocus"></a><b><a href="source/Element.style-more.html#method-Ext.Element-addClassOnFocus">addClassOnFocus</a></b>( <code>String className</code> )
\r
12 Ext.Element<div class="mdesc"><div class="short">Sets up event handlers to add and remove a css class when this element has the focus</div><div class="long">Sets up event handlers to add and remove a css class when this element has the focus<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>className</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#addClassOnFocus" ext:member="#addClassOnFocus" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-addClassOnOver"></a><b><a href="source/Element.style-more.html#method-Ext.Element-addClassOnOver">addClassOnOver</a></b>( <code>String className</code> )
\r
14 Ext.Element<div class="mdesc"><div class="short">Sets up event handlers to add and remove a css class when the mouse is over this element</div><div class="long">Sets up event handlers to add and remove a css class when the mouse is over this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>className</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#addClassOnOver" ext:member="#addClassOnOver" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-addKeyListener"></a><b><a href="source/Element.keys.html#method-Ext.Element-addKeyListener">addKeyListener</a></b>( <code>Number/Array/Object/String key</code>, <code>Function fn</code>, <span title="Optional" class="optional">[<code>Object scope</code>]</span> )
\r
16 Ext.KeyMap<div class="mdesc"><div class="short">Convenience method for constructing a KeyMap</div><div class="long">Convenience method for constructing a KeyMap<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>key</code> : Number/Array/Object/String<div class="sub-desc">Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options:
\r
17 {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)}</div></li><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.KeyMap</code><div class="sub-desc">The KeyMap created</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#addKeyListener" ext:member="#addKeyListener" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-addKeyMap"></a><b><a href="source/Element.keys.html#method-Ext.Element-addKeyMap">addKeyMap</a></b>( <code>Object config</code> )
\r
19 Ext.KeyMap<div class="mdesc"><div class="short">Creates a KeyMap for this element</div><div class="long">Creates a KeyMap for this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>config</code> : Object<div class="sub-desc">The KeyMap config. See <a href="output/Ext.KeyMap.html" ext:cls="Ext.KeyMap">Ext.KeyMap</a> for more details</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.KeyMap</code><div class="sub-desc">The KeyMap created</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#addKeyMap" ext:member="#addKeyMap" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-addListener"></a><b><a href="source/Element.html#method-Ext.Element-addListener">addListener</a></b>( <code>String eventName</code>, <code>Function fn</code>, <span title="Optional" class="optional">[<code>Object scope</code>]</span>, <span title="Optional" class="optional">[<code>Object options</code>]</span> )
\r
21 Ext.Element<div class="mdesc"><div class="short">Appends an event handler to this element. The shorthand version on is equivalent.</div><div class="long">Appends an event handler to this element. The shorthand version <a href="output/Ext.Element.html#Ext.Element-on" ext:member="on" ext:cls="Ext.Element">on</a> is equivalent.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of event to handle.</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function the event invokes. This function is passed
\r
22 the following parameters:<ul>
\r
23 <li><b>evt</b> : EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">EventObject</a> describing the event.</div></li>
\r
24 <li><b>el</b> : HtmlElement<div class="sub-desc">The DOM element which was the target of the event.
\r
25 Note that this may be filtered by using the <tt>delegate</tt> option.</div></li>
\r
26 <li><b>o</b> : Object<div class="sub-desc">The options object from the addListener call.</div></li>
\r
27 </ul></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<code><b>this</b></code> reference) in which the handler function is executed.
\r
28 <b>If omitted, defaults to this Element.</b>.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration properties.
\r
29 This may contain any of the following properties:<ul>
\r
30 <li><b>scope</b> Object : <div class="sub-desc">The scope (<code><b>this</b></code> reference) in which the handler function is executed.
\r
31 <b>If omitted, defaults to this Element.</b></div></li>
\r
32 <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>
\r
33 <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>
\r
34 <li><b>preventDefault</b> Boolean: <div class="sub-desc">True to prevent the default action</div></li>
\r
35 <li><b>stopPropagation</b> Boolean: <div class="sub-desc">True to prevent event propagation</div></li>
\r
36 <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>
\r
37 <li><b>target</b> Ext.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>
\r
38 <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>
\r
39 <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>
\r
40 <li><b>buffer</b> Number: <div class="sub-desc">Causes the handler to be scheduled to run in an <a href="output/Ext.util.DelayedTask.html" ext:cls="Ext.util.DelayedTask">Ext.util.DelayedTask</a> delayed
\r
41 by the specified number of milliseconds. If the event fires again within that time, the original
\r
42 handler is <em>not</em> invoked, but the new handler is scheduled in its place.</div></li>
\r
45 <b>Combining Options</b><br>
\r
46 In the following examples, the shorthand form <a href="output/Ext.Element.html#Ext.Element-on" ext:member="on" ext:cls="Ext.Element">on</a> is used rather than the more verbose
\r
47 addListener. The two are equivalent. Using the options argument, it is possible to combine different
\r
48 types of listeners:<br>
\r
50 A delayed, one-time listener that auto stops the event and adds a custom argument (forumId) to the
\r
51 options object. The options object is available as the third parameter in the handler function.<div style="margin: 5px 20px 20px;">
\r
52 Code:<pre><code>el.on(<em>'click'</em>, this.onClick, this, {
\r
57 });</code></pre></p>
\r
59 <b>Attaching multiple handlers in 1 call</b><br>
\r
60 The method also allows for a single argument to be passed which is a config object containing properties
\r
61 which specify multiple handlers.</p>
\r
63 Code:<pre><code>el.on({
\r
64 <em>'click'</em> : {
\r
69 <em>'mouseover'</em> : {
\r
70 fn: this.onMouseOver,
\r
73 <em>'mouseout'</em> : {
\r
74 fn: this.onMouseOut,
\r
79 Or a shorthand syntax:<br>
\r
80 Code:<pre><code></p>
\r
82 <em>'click'</em> : this.onClick,
\r
83 <em>'mouseover'</em> : this.onMouseOver,
\r
84 <em>'mouseout'</em> : this.onMouseOut,
\r
86 });</code></pre></p>
\r
87 <p><b>delegate</b></p>
\r
88 <p>This is a configuration option that you can pass along when registering a handler for
\r
89 an event to assist with event delegation. Event delegation is a technique that is used to
\r
90 reduce memory consumption and prevent exposure to memory-leaks. By registering an event
\r
91 for a container element as opposed to each element within a container. By setting this
\r
92 configuration option to a simple selector, the target element will be filtered to look for
\r
93 a descendant of the target.
\r
94 For example:<pre><code><i>// using this markup:
\r</i>
95 <div id=<em>'elId'</em>>
\r
96 <p id=<em>'p1'</em>>paragraph one</p>
\r
97 <p id=<em>'p2'</em> class=<em>'clickable'</em>>paragraph two</p>
\r
98 <p id=<em>'p3'</em>>paragraph three</p>
\r
100 <i>// utilize event delegation to registering just one handler on the container element:
\r</i>
101 el = Ext.get(<em>'elId'</em>);
\r
104 <b>function</b>(e,t) {
\r
105 <i>// handle click
\r</i>
106 console.info(t.id); <i>// <em>'p2'</em>
\r</i>
110 <i>// filter the target element to be a descendant <b>with</b> the class <em>'clickable'</em>
\r</i>
111 delegate: <em>'.clickable'</em>
\r
113 );</code></pre></p></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#addListener" ext:member="#addListener" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-alignTo"></a><b><a href="source/Element.alignment.html#method-Ext.Element-alignTo">alignTo</a></b>( <code>Mixed element</code>, <code>String position</code>, <span title="Optional" class="optional">[<code>Array offsets</code>]</span>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
115 Ext.Element<div class="mdesc"><div class="short">Aligns this element with another element relative to the specified anchor points. If the other element is the
\r
116 docume...</div><div class="long">Aligns this element with another element relative to the specified anchor points. If the other element is the
\r
117 document it aligns it to the viewport.
\r
118 The position parameter is optional, and can be specified in any one of the following formats:
\r
120 <li><b>Blank</b>: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl").</li>
\r
121 <li><b>One anchor (deprecated)</b>: The passed anchor position is used as the target element's anchor point.
\r
122 The element being aligned will position its top-left corner (tl) to that point. <i>This method has been
\r
123 deprecated in favor of the newer two anchor syntax below</i>.</li>
\r
124 <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
\r
125 element's anchor point, and the second value is used as the target's anchor point.</li>
\r
127 In addition to the anchor points, the position parameter also supports the "?" character. If "?" is passed at the end of
\r
128 the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to
\r
129 the viewport if necessary. Note that the element being aligned might be swapped to align to a different position than
\r
130 that specified in order to enforce the viewport constraints.
\r
131 Following are all of the supported anchor positions:
\r
134 ----- -----------------------------
\r
135 tl The top left corner (default)
\r
136 t The center of the top edge
\r
137 tr The top right corner
\r
138 l The center of the left edge
\r
139 c In the center of the element
\r
140 r The center of the right edge
\r
141 bl The bottom left corner
\r
142 b The center of the bottom edge
\r
143 br The bottom right corner
\r
146 <pre><code><i>// align el to other-el using the <b>default</b> positioning (<em>"tl-bl"</em>, non-constrained)
\r</i>
147 el.alignTo(<em>"other-el"</em>);
\r
149 <i>// align the top left corner of el <b>with</b> the top right corner of other-el (constrained to viewport)
\r</i>
150 el.alignTo(<em>"other-el"</em>, <em>"tr?"</em>);
\r
152 <i>// align the bottom right corner of el <b>with</b> the center left edge of other-el
\r</i>
153 el.alignTo(<em>"other-el"</em>, <em>"br-l?"</em>);
\r
155 <i>// align the center of el <b>with</b> the bottom left corner of other-el and
\r</i>
156 <i>// adjust the x position by -6 pixels (and the y position by 0)
\r</i>
157 el.alignTo(<em>"other-el"</em>, <em>"c-bl"</em>, [-6, 0]);</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>element</code> : Mixed<div class="sub-desc">The element to align to.</div></li><li><code>position</code> : String<div class="sub-desc">The position to align to.</div></li><li><code>offsets</code> : Array<div class="sub-desc">(optional) Offset the positioning by [x, y]</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#alignTo" ext:member="#alignTo" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-anchorTo"></a><b><a href="source/Element.alignment.html#method-Ext.Element-anchorTo">anchorTo</a></b>( <code>Mixed element</code>, <code>String position</code>, <span title="Optional" class="optional">[<code>Array offsets</code>]</span>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span>, <span title="Optional" class="optional">[<code>Boolean/Number monitorScroll</code>]</span>, <code>Function callback</code> )
\r
159 Ext.Element<div class="mdesc"><div class="short">Anchors an element to another element and realigns it when the window is resized.</div><div class="long">Anchors an element to another element and realigns it when the window is resized.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>element</code> : Mixed<div class="sub-desc">The element to align to.</div></li><li><code>position</code> : String<div class="sub-desc">The position to align to.</div></li><li><code>offsets</code> : Array<div class="sub-desc">(optional) Offset the positioning by [x, y]</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation or a standard Element animation config object</div></li><li><code>monitorScroll</code> : Boolean/Number<div class="sub-desc">(optional) True to monitor body scroll and reposition. If this parameter
\r
160 is a number, it is used as the buffer delay (defaults to 50ms).</div></li><li><code>callback</code> : Function<div class="sub-desc">The function to call after the animation finishes</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#anchorTo" ext:member="#anchorTo" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-animate"></a><b><a href="source/Element.fx.html#method-Ext.Element-animate">animate</a></b>( <code>Object args</code>, <span title="Optional" class="optional">[<code>Float duration</code>]</span>, <span title="Optional" class="optional">[<code>Function onComplete</code>]</span>, <span title="Optional" class="optional">[<code>String easing</code>]</span>, <span title="Optional" class="optional">[<code>String animType</code>]</span> )
\r
162 Ext.Element<div class="mdesc"><div class="short">Perform custom animation on this element.
\r
163 <ul class="mdetail-params">
\r
164 Animation Properties
\r
165 The Animation Control O...</div><div class="long">Perform custom animation on this element.
\r
166 <div><ul class="mdetail-params">
\r
167 <li><u>Animation Properties</u></li>
\r
168 <p>The Animation Control Object enables gradual transitions for any member of an
\r
169 element's style object that takes a numeric value including but not limited to
\r
170 these properties:</p><div><ul class="mdetail-params">
\r
171 <li><tt>bottom, top, left, right</tt></li>
\r
172 <li><tt>height, width</tt></li>
\r
173 <li><tt>margin, padding</tt></li>
\r
174 <li><tt>borderWidth</tt></li>
\r
175 <li><tt>opacity</tt></li>
\r
176 <li><tt>fontSize</tt></li>
\r
177 <li><tt>lineHeight</tt></li>
\r
179 <li><u>Animation Property Attributes</u></li>
\r
180 <p>Each Animation Property is a config object with optional properties:</p>
\r
181 <div><ul class="mdetail-params">
\r
182 <li><tt>by</tt>* : relative change - start at current value, change by this value</li>
\r
183 <li><tt>from</tt> : ignore current value, start from this value</li>
\r
184 <li><tt>to</tt>* : start at current value, go to this value</li>
\r
185 <li><tt>unit</tt> : any allowable unit specification</li>
\r
186 <p>* do not specify both <tt>to</tt> and <tt>by</tt> for an animation property</p>
\r
188 <li><u>Animation Types</u></li>
\r
189 <p>The supported animation types:</p><div><ul class="mdetail-params">
\r
190 <li><tt>'run'</tt> : Default
\r
191 <pre><code><b>var</b> el = Ext.get(<em>'complexEl'</em>);
\r
193 <i>// animation control object
\r</i>
195 borderWidth: {to: 3, from: 0},
\r
196 opacity: {to: .3, from: 1},
\r
197 height: {to: 50, from: el.getHeight()},
\r
198 width: {to: 300, from: el.getWidth()},
\r
199 top : {by: - 100, unit: <em>'px'</em>},
\r
201 0.35, <i>// animation duration
\r</i>
202 null, <i>// callback
\r</i>
203 <em>'easeOut'</em>, <i>// easing method
\r</i>
204 <em>'run'</em> <i>// animation type (<em>'run'</em>,<em>'color'</em>,<em>'motion'</em>,<em>'scroll'</em>)
\r</i>
207 <li><tt>'color'</tt>
\r
208 <p>Animates transition of background, text, or border colors.</p>
\r
209 <pre><code>el.animate(
\r
210 <i>// animation control object
\r</i>
212 color: { to: <em>'#06e'</em> },
\r
213 backgroundColor: { to: <em>'#e06'</em> }
\r
215 0.35, <i>// animation duration
\r</i>
216 null, <i>// callback
\r</i>
217 <em>'easeOut'</em>, <i>// easing method
\r</i>
218 <em>'color'</em> <i>// animation type (<em>'run'</em>,<em>'color'</em>,<em>'motion'</em>,<em>'scroll'</em>)
\r</i>
221 <li><tt>'motion'</tt>
\r
222 <p>Animates the motion of an element to/from specific points using optional bezier
\r
223 way points during transit.</p>
\r
224 <pre><code>el.animate(
\r
225 <i>// animation control object
\r</i>
227 borderWidth: {to: 3, from: 0},
\r
228 opacity: {to: .3, from: 1},
\r
229 height: {to: 50, from: el.getHeight()},
\r
230 width: {to: 300, from: el.getWidth()},
\r
231 top : {by: - 100, unit: <em>'px'</em>},
\r
233 to: [50, 100], <i>// go to this point
\r</i>
234 control: [ <i>// optional bezier way points
\r</i>
240 3000, <i>// animation duration (milliseconds!)
\r</i>
241 null, <i>// callback
\r</i>
242 <em>'easeOut'</em>, <i>// easing method
\r</i>
243 <em>'motion'</em> <i>// animation type (<em>'run'</em>,<em>'color'</em>,<em>'motion'</em>,<em>'scroll'</em>)
\r</i>
246 <li><tt>'scroll'</tt>
\r
247 <p>Animate horizontal or vertical scrolling of an overflowing page element.</p>
\r
248 <pre><code>el.animate(
\r
249 <i>// animation control object
\r</i>
251 scroll: {to: [400, 300]}
\r
253 0.35, <i>// animation duration
\r</i>
254 null, <i>// callback
\r</i>
255 <em>'easeOut'</em>, <i>// easing method
\r</i>
256 <em>'scroll'</em> <i>// animation type (<em>'run'</em>,<em>'color'</em>,<em>'motion'</em>,<em>'scroll'</em>)
\r</i>
260 </ul></div><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>args</code> : Object<div class="sub-desc">The animation control args</div></li><li><code>duration</code> : Float<div class="sub-desc">(optional) How long the animation lasts in seconds (defaults to <tt>.35</tt>)</div></li><li><code>onComplete</code> : Function<div class="sub-desc">(optional) Function to call when animation completes</div></li><li><code>easing</code> : String<div class="sub-desc">(optional) <a href="output/Ext.Fx.html#Ext.Fx-easing" ext:member="easing" ext:cls="Ext.Fx">Ext.Fx.easing</a> method to use (defaults to <tt>'easeOut'</tt>)</div></li><li><code>animType</code> : String<div class="sub-desc">(optional) <tt>'run'</tt> is the default. Can also be <tt>'color'</tt>,
\r
261 <tt>'motion'</tt>, or <tt>'scroll'</tt></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#animate" ext:member="#animate" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-appendChild"></a><b><a href="source/Element.insertion.html#method-Ext.Element-appendChild">appendChild</a></b>( <code>String/HTMLElement/Array/Element/CompositeElement el</code> )
\r
263 Ext.Element<div class="mdesc"><div class="short">Appends the passed element(s) to this element</div><div class="long">Appends the passed element(s) to this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : String/HTMLElement/Array/Element/CompositeElement<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#appendChild" ext:member="#appendChild" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-appendTo"></a><b><a href="source/Element.insertion.html#method-Ext.Element-appendTo">appendTo</a></b>( <code>Mixed el</code> )
\r
265 Ext.Element<div class="mdesc"><div class="short">Appends this element to the passed element</div><div class="long">Appends this element to the passed element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed<div class="sub-desc">The new parent element</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#appendTo" ext:member="#appendTo" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-applyStyles"></a><b><a href="source/Element.style-more.html#method-Ext.Element-applyStyles">applyStyles</a></b>( <code>String/Object/Function styles</code> )
\r
267 Ext.Element<div class="mdesc"><div class="short">More flexible version of setStyle for setting style properties.</div><div class="long">More flexible version of <a href="output/Ext.Element.html#Ext.Element-setStyle" ext:member="setStyle" ext:cls="Ext.Element">setStyle</a> for setting style properties.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>styles</code> : String/Object/Function<div class="sub-desc">A style specification string, e.g. "width:100px", or object in the form {width:"100px"}, or
\r
268 a function which returns such a specification.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#applyStyles" ext:member="#applyStyles" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-autoHeight"></a><b><a href="source/Element.legacy.html#method-Ext.Element-autoHeight">autoHeight</a></b>( <span title="Optional" class="optional">[<code>Boolean animate</code>]</span>, <span title="Optional" class="optional">[<code>Float duration</code>]</span>, <span title="Optional" class="optional">[<code>Function onComplete</code>]</span>, <span title="Optional" class="optional">[<code>String easing</code>]</span> )
\r
270 Ext.Element<div class="mdesc"><div class="short">Measures the element's content height and updates height to match. Note: this function uses setTimeout so
\r
271 the new he...</div><div class="long">Measures the element's content height and updates height to match. Note: this function uses setTimeout so
\r
272 the new height may not be available immediately.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>animate</code> : Boolean<div class="sub-desc">(optional) Animate the transition (defaults to false)</div></li><li><code>duration</code> : Float<div class="sub-desc">(optional) Length of the animation in seconds (defaults to .35)</div></li><li><code>onComplete</code> : Function<div class="sub-desc">(optional) Function to call when animation completes</div></li><li><code>easing</code> : String<div class="sub-desc">(optional) Easing method to use (defaults to easeOut)</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#autoHeight" ext:member="#autoHeight" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-blur"></a><b><a href="source/Element.html#method-Ext.Element-blur">blur</a></b>()
\r
274 Ext.Element<div class="mdesc"><div class="short">Tries to blur the element. Any exceptions are caught and ignored.</div><div class="long">Tries to blur the element. Any exceptions are caught and ignored.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#blur" ext:member="#blur" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-boxWrap"></a><b><a href="source/Element.style-more.html#method-Ext.Element-boxWrap">boxWrap</a></b>( <span title="Optional" class="optional">[<code>String class</code>]</span> )
\r
276 Ext.Element<div class="mdesc"><div class="short">Wraps the specified element with a special 9 element markup/CSS block that renders by default as
\r
277 a gray container wi...</div><div class="long"><p>Wraps the specified element with a special 9 element markup/CSS block that renders by default as
\r
278 a gray container with a gradient background, rounded corners and a 4-way shadow.</p>
\r
279 <p>This special markup is used throughout Ext when box wrapping elements (<a href="output/Ext.Button.html" ext:cls="Ext.Button">Ext.Button</a>,
\r
280 <a href="output/Ext.Panel.html" ext:cls="Ext.Panel">Ext.Panel</a> when <tt><a href="output/Ext.Panel.html#Ext.Panel-frame" ext:member="frame" ext:cls="Ext.Panel">frame=true</a></tt>, <a href="output/Ext.Window.html" ext:cls="Ext.Window">Ext.Window</a>). The markup
\r
281 is of this form:</p>
\r
282 <pre><code>Ext.Element.boxMarkup =
\r
283 '<div class=<em>"{0}-tl"</em>><div class=<em>"{0}-tr"</em>><div class=<em>"{0}-tc"</em>></div></div></div>
\r
284 <div class=<em>"{0}-ml"</em>><div class=<em>"{0}-mr"</em>><div class=<em>"{0}-mc"</em>></div></div></div>
\r
285 <div class=<em>"{0}-bl"</em>><div class=<em>"{0}-br"</em>><div class=<em>"{0}-bc"</em>></div></div></div>';</code></pre>
\r
286 <p>Example usage:</p>
\r
287 <pre><code><i>// Basic box wrap
\r</i>
288 Ext.get(<em>"foo"</em>).boxWrap();
\r
290 <i>// You can also add a custom class and use CSS inheritance rules to customize the box look.
\r</i>
291 <i>// <em>'x-box-blue'</em> is a built-<b>in</b> alternative -- look at the related CSS definitions as an example
\r</i>
292 <i>// <b>for</b> how to create a custom box wrap style.
\r</i>
293 Ext.get(<em>"foo"</em>).boxWrap().addClass(<em>"x-box-blue"</em>);</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>class</code> : String<div class="sub-desc">(optional) A base CSS class to apply to the containing wrapper element
\r
294 (defaults to <tt>'x-box'</tt>). Note that there are a number of CSS rules that are dependent on
\r
295 this name to make the overall effect work, so if you supply an alternate base class, make sure you
\r
296 also supply all of the necessary rules.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#boxWrap" ext:member="#boxWrap" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-center"></a><b><a href="source/Element.alignment.html#method-Ext.Element-center">center</a></b>( <span title="Optional" class="optional">[<code>Mixed centerIn</code>]</span> )
\r
298 void<div class="mdesc"><div class="short">Centers the Element in either the viewport, or another Element.</div><div class="long">Centers the Element in either the viewport, or another Element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>centerIn</code> : Mixed<div class="sub-desc">(optional) The element in which to center the element.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#center" ext:member="#center" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-child"></a><b><a href="source/Element.traversal.html#method-Ext.Element-child">child</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
300 HTMLElement/Ext.Element<div class="mdesc"><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">Selects a single child at any depth below this element based on the passed CSS selector (the selector should not contain an id).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return the DOM node instead of Ext.Element (defaults to false)</div></li></ul><strong>Returns:</strong><ul><li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The child Ext.Element (or DOM node if returnDom = true)</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#child" ext:member="#child" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-clean"></a><b><a href="source/Element-more.html#method-Ext.Element-clean">clean</a></b>( <span title="Optional" class="optional">[<code>Boolean forceReclean</code>]</span> )
\r
302 void<div class="mdesc"><div class="short">Removes worthless text nodes</div><div class="long">Removes worthless text nodes<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>forceReclean</code> : Boolean<div class="sub-desc">(optional) By default the element
\r
303 keeps track if it has been cleaned already so
\r
304 you can call this over and over. However, if you update the element and
\r
305 need to force a reclean, you can pass true.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#clean" ext:member="#clean" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-clearOpacity"></a><b><a href="source/Element.style.html#method-Ext.Element-clearOpacity">clearOpacity</a></b>()
\r
307 Ext.Element<div class="mdesc"><div class="short">Clears any opacity settings from this element. Required in some cases for IE.</div><div class="long">Clears any opacity settings from this element. Required in some cases for IE.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#clearOpacity" ext:member="#clearOpacity" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-clearPositioning"></a><b><a href="source/Element.position.html#method-Ext.Element-clearPositioning">clearPositioning</a></b>( <span title="Optional" class="optional">[<code>String value</code>]</span> )
\r
309 Ext.Element<div class="mdesc"><div class="short">Clear positioning back to the default when the document was loaded</div><div class="long">Clear positioning back to the default when the document was loaded<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : String<div class="sub-desc">(optional) The value to use for the left,right,top,bottom, defaults to '' (empty string). You could use 'auto'.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#clearPositioning" ext:member="#clearPositioning" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-clip"></a><b><a href="source/Element.style.html#method-Ext.Element-clip">clip</a></b>()
\r
311 Ext.Element<div class="mdesc"><div class="short">Store the current overflow setting and clip overflow on the element - use unclip to remove</div><div class="long">Store the current overflow setting and clip overflow on the element - use <tt><a href="output/Ext.Element.html#Ext.Element-unclip" ext:member="unclip" ext:cls="Ext.Element">unclip</a></tt> to remove<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#clip" ext:member="#clip" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-contains"></a><b><a href="source/Element.html#method-Ext.Element-contains">contains</a></b>( <code>HTMLElement/String el</code> )
\r
313 Boolean<div class="mdesc"><div class="short">Returns true if this element is an ancestor of the passed element</div><div class="long">Returns true if this element is an ancestor of the passed element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : HTMLElement/String<div class="sub-desc">The element to check</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">True if this element is an ancestor of el, else false</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#contains" ext:member="#contains" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-createChild"></a><b><a href="source/Element.insertion.html#method-Ext.Element-createChild">createChild</a></b>( <code>Object config</code>, <span title="Optional" class="optional">[<code>HTMLElement insertBefore</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
315 Ext.Element<div class="mdesc"><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">Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>config</code> : Object<div class="sub-desc">DomHelper element config object. If no tag is specified (e.g., {tag:'input'}) then a div will be
\r
316 automatically generated with the specified attributes.</div></li><li><code>insertBefore</code> : HTMLElement<div class="sub-desc">(optional) a child element of this element</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) true to return the dom node instead of creating an Element</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">The new child element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#createChild" ext:member="#createChild" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-createProxy"></a><b><a href="source/Element-more.html#method-Ext.Element-createProxy">createProxy</a></b>( <code>String/Object config</code>, <span title="Optional" class="optional">[<code>String/HTMLElement renderTo</code>]</span>, <span title="Optional" class="optional">[<code>Boolean matchBox</code>]</span> )
\r
318 Ext.Element<div class="mdesc"><div class="short">Creates a proxy element of this element</div><div class="long">Creates a proxy element of this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>config</code> : String/Object<div class="sub-desc">The class name of the proxy element or a DomHelper config object</div></li><li><code>renderTo</code> : String/HTMLElement<div class="sub-desc">(optional) The element or element id to render the proxy to (defaults to document.body)</div></li><li><code>matchBox</code> : Boolean<div class="sub-desc">(optional) True to align and size the proxy to this element now (defaults to false)</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">The new proxy element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#createProxy" ext:member="#createProxy" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-createShim"></a><b><a href="source/Element.fx-more.html#method-Ext.Element-createShim">createShim</a></b>()
\r
320 Ext.Element<div class="mdesc"><div class="short">Creates an iframe shim for this element to keep selects and other windowed objects from
\r
321 showing through.</div><div class="long">Creates an iframe shim for this element to keep selects and other windowed objects from
\r
322 showing through.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">The new shim element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#createShim" ext:member="#createShim" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-down"></a><b><a href="source/Element.traversal.html#method-Ext.Element-down">down</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
324 HTMLElement/Ext.Element<div class="mdesc"><div class="short">Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).</div><div class="long">Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return the DOM node instead of Ext.Element (defaults to false)</div></li></ul><strong>Returns:</strong><ul><li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The child Ext.Element (or DOM node if returnDom = true)</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#down" ext:member="#down" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-enableDisplayMode"></a><b><a href="source/Element.fx-more.html#method-Ext.Element-enableDisplayMode">enableDisplayMode</a></b>( <span title="Optional" class="optional">[<code>String display</code>]</span> )
\r
326 Ext.Element<div class="mdesc"><div class="short">Convenience method for setVisibilityMode(Element.DISPLAY)</div><div class="long">Convenience method for setVisibilityMode(Element.DISPLAY)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>display</code> : String<div class="sub-desc">(optional) What to set display to when visible</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#enableDisplayMode" ext:member="#enableDisplayMode" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-findParent"></a><b><a href="source/Element.traversal.html#method-Ext.Element-findParent">findParent</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Number/Mixed maxDepth</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnEl</code>]</span> )
\r
328 HTMLElement<div class="mdesc"><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">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)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li><li><code>maxDepth</code> : Number/Mixed<div class="sub-desc">(optional) The max depth to search as a number or element (defaults to 50 || document.body)</div></li><li><code>returnEl</code> : Boolean<div class="sub-desc">(optional) True to return a Ext.Element object instead of DOM node</div></li></ul><strong>Returns:</strong><ul><li><code>HTMLElement</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#findParent" ext:member="#findParent" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-findParentNode"></a><b><a href="source/Element.traversal.html#method-Ext.Element-findParentNode">findParentNode</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Number/Mixed maxDepth</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnEl</code>]</span> )
\r
330 HTMLElement<div class="mdesc"><div class="short">Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)</div><div class="long">Looks at parent nodes for a match of the passed simple selector (e.g. div.some-class or span:first-child)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li><li><code>maxDepth</code> : Number/Mixed<div class="sub-desc">(optional) The max depth to
\r
331 search as a number or element (defaults to 10 || document.body)</div></li><li><code>returnEl</code> : Boolean<div class="sub-desc">(optional) True to return a Ext.Element object instead of DOM node</div></li></ul><strong>Returns:</strong><ul><li><code>HTMLElement</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#findParentNode" ext:member="#findParentNode" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-first"></a><b><a href="source/Element.traversal.html#method-Ext.Element-first">first</a></b>( <span title="Optional" class="optional">[<code>String selector</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
333 Ext.Element/HTMLElement<div class="mdesc"><div class="short">Gets the first child, skipping text nodes</div><div class="long">Gets the first child, skipping text nodes<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find the next sibling that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The first child or null</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#first" ext:member="#first" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-fly"></a><b><a href="source/Element.html#method-Ext.Element-fly">fly</a></b>( <code>String/HTMLElement el</code>, <span title="Optional" class="optional">[<code>String named</code>]</span> )
\r
335 Element<div class="mdesc"><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 -
\r
336 the dom node can be overwritten by other code. Shorthand of <a href="output/Ext.Element.html#Ext.Element-fly" ext:member="fly" ext:cls="Ext.Element">Ext.Element.fly</a></p>
\r
337 <p>Use this to make one-time references to DOM elements which are not going to be accessed again either by
\r
338 application code, or by Ext's classes. If accessing an element which will be processed regularly, then <a href="output/Ext.html#Ext-get" ext:member="get" ext:cls="Ext">Ext.get</a>
\r
339 will be more appropriate to take advantage of the caching provided by the Ext.Element class.</p><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : String/HTMLElement<div class="sub-desc">The dom node or id</div></li><li><code>named</code> : String<div class="sub-desc">(optional) Allows for creation of named reusable flyweights to prevent conflicts
\r
340 (e.g. internally Ext uses "_global")</div></li></ul><strong>Returns:</strong><ul><li><code>Element</code><div class="sub-desc">The shared Element object (or null if no matching element was found)</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#fly" ext:member="#fly" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-focus"></a><b><a href="source/Element.html#method-Ext.Element-focus">focus</a></b>( <span title="Optional" class="optional">[<code>Number defer</code>]</span> )
\r
342 Ext.Element<div class="mdesc"><div class="short">Tries to focus the element. Any exceptions are caught and ignored.</div><div class="long">Tries to focus the element. Any exceptions are caught and ignored.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>defer</code> : Number<div class="sub-desc">(optional) Milliseconds to defer the focus</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#focus" ext:member="#focus" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getAlignToXY"></a><b><a href="source/Element.alignment.html#method-Ext.Element-getAlignToXY">getAlignToXY</a></b>( <code>Mixed element</code>, <code>String position</code>, <span title="Optional" class="optional">[<code>Array offsets</code>]</span> )
\r
344 Array<div class="mdesc"><div class="short">Gets the x,y coordinates to align this element with another element. See alignTo for more info on the
\r
345 supported posi...</div><div class="long">Gets the x,y coordinates to align this element with another element. See <a href="output/Ext.Element.html#Ext.Element-alignTo" ext:member="alignTo" ext:cls="Ext.Element">alignTo</a> for more info on the
\r
346 supported position values.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>element</code> : Mixed<div class="sub-desc">The element to align to.</div></li><li><code>position</code> : String<div class="sub-desc">The position to align to.</div></li><li><code>offsets</code> : Array<div class="sub-desc">(optional) Offset the positioning by [x, y]</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">[x, y]</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getAlignToXY" ext:member="#getAlignToXY" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getAnchorXY"></a><b><a href="source/Element.alignment.html#method-Ext.Element-getAnchorXY">getAnchorXY</a></b>( <span title="Optional" class="optional">[<code>String anchor</code>]</span>, <span title="Optional" class="optional">[<code>Boolean local</code>]</span>, <span title="Optional" class="optional">[<code>Object size</code>]</span> )
\r
348 Array<div class="mdesc"><div class="short">Gets the x,y coordinates specified by the anchor position on the element.</div><div class="long">Gets the x,y coordinates specified by the anchor position on the element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>anchor</code> : String<div class="sub-desc">(optional) The specified anchor position (defaults to "c"). See <a href="output/Ext.Element.html#Ext.Element-alignTo" ext:member="alignTo" ext:cls="Ext.Element">alignTo</a>
\r
349 for details on supported anchor positions.</div></li><li><code>local</code> : Boolean<div class="sub-desc">(optional) True to get the local (element top/left-relative) anchor position instead
\r
350 of page coordinates</div></li><li><code>size</code> : Object<div class="sub-desc">(optional) An object containing the size to use for calculating anchor position
\r
351 {width: (target width), height: (target height)} (defaults to the element's current size)</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">[x, y] An array containing the element's x and y coordinates</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getAnchorXY" ext:member="#getAnchorXY" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getAttribute"></a><b><a href="source/Element.html#method-Ext.Element-getAttribute">getAttribute</a></b>( <code>String name</code>, <span title="Optional" class="optional">[<code>String namespace</code>]</span> )
\r
353 String<div class="mdesc"><div class="short">Returns the value of an attribute from the element's underlying DOM node.</div><div class="long">Returns the value of an attribute from the element's underlying DOM node.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>name</code> : String<div class="sub-desc">The attribute name</div></li><li><code>namespace</code> : String<div class="sub-desc">(optional) The namespace in which to look for the attribute</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The attribute value</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getAttribute" ext:member="#getAttribute" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getAttributeNS"></a><b><a href="source/Element.html#method-Ext.Element-getAttributeNS">getAttributeNS</a></b>( <code>String namespace</code>, <code>String name</code> )
\r
355 String<div class="mdesc"><div class="short">Returns the value of a namespaced attribute from the element's underlying DOM node.</div><div class="long">Returns the value of a namespaced attribute from the element's underlying DOM node.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>namespace</code> : String<div class="sub-desc">The namespace in which to look for the attribute</div></li><li><code>name</code> : String<div class="sub-desc">The attribute name</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The attribute value</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getAttributeNS" ext:member="#getAttributeNS" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getBorderWidth"></a><b><a href="source/Element.style.html#method-Ext.Element-getBorderWidth">getBorderWidth</a></b>( <code>String side</code> )
\r
357 Number<div class="mdesc"><div class="short">Gets the width of the border(s) for the specified side(s)</div><div class="long">Gets the width of the border(s) for the specified side(s)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>side</code> : String<div class="sub-desc">Can be t, l, r, b or any combination of those to add multiple values. For example,
358 passing <tt>'lr'</tt> would get the border <b><u>l</u></b>eft width + the border <b><u>r</u></b>ight width.</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The width of the sides passed added together</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getBorderWidth" ext:member="#getBorderWidth" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getBottom"></a><b><a href="source/Element.position.html#method-Ext.Element-getBottom">getBottom</a></b>( <code>Boolean local</code> )
\r
360 Number<div class="mdesc"><div class="short">Gets the bottom Y coordinate of the element (element Y position + element height)</div><div class="long">Gets the bottom Y coordinate of the element (element Y position + element height)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getBottom" ext:member="#getBottom" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getBox"></a><b><a href="source/Element.position-more.html#method-Ext.Element-getBox">getBox</a></b>( <span title="Optional" class="optional">[<code>Boolean contentBox</code>]</span>, <span title="Optional" class="optional">[<code>Boolean local</code>]</span> )
\r
362 Object<div class="mdesc"><div class="short">Return a box {x, y, width, height} that can be used to set another elements
\r
363 size/location to match this element.</div><div class="long">Return a box {x, y, width, height} that can be used to set another elements
\r
364 size/location to match this element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>contentBox</code> : Boolean<div class="sub-desc">(optional) If true a box for the content of the element is returned.</div></li><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page x/y.</div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getBox" ext:member="#getBox" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getCenterXY"></a><b><a href="source/Element.alignment.html#method-Ext.Element-getCenterXY">getCenterXY</a></b>()
\r
366 Array<div class="mdesc"><div class="short">Calculates the x, y to center this element on the screen</div><div class="long">Calculates the x, y to center this element on the screen<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">The x, y values [x, y]</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getCenterXY" ext:member="#getCenterXY" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getColor"></a><b><a href="source/Element.style.html#method-Ext.Element-getColor">getColor</a></b>( <code>String attr</code>, <code>String defaultValue</code>, <span title="Optional" class="optional">[<code>String prefix</code>]</span> )
\r
368 void<div class="mdesc"><div class="short">Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
\r
369 are convert to standa...</div><div class="long">Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
370 are convert to standard 6 digit hex color.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>attr</code> : String<div class="sub-desc">The css attribute</div></li><li><code>defaultValue</code> : String<div class="sub-desc">The default value to use when a valid color isn't found</div></li><li><code>prefix</code> : String<div class="sub-desc">(optional) defaults to #. Use an empty string when working with
371 color anims.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getColor" ext:member="#getColor" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getComputedHeight"></a><b><a href="source/Element.style-more.html#method-Ext.Element-getComputedHeight">getComputedHeight</a></b>()
\r
373 Number<div class="mdesc"><div class="short">Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
\r
374 whe...</div><div class="long">Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
\r
375 when needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements
\r
376 if a height has not been set using CSS.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getComputedHeight" ext:member="#getComputedHeight" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getComputedWidth"></a><b><a href="source/Element.style-more.html#method-Ext.Element-getComputedWidth">getComputedWidth</a></b>()
\r
378 Number<div class="mdesc"><div class="short">Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
\r
379 when n...</div><div class="long">Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
\r
380 when needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements
\r
381 if a width has not been set using CSS.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getComputedWidth" ext:member="#getComputedWidth" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getFrameWidth"></a><b><a href="source/Element.style-more.html#method-Ext.Element-getFrameWidth">getFrameWidth</a></b>( <code>String sides</code> )
\r
383 Number<div class="mdesc"><div class="short">Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()
\r
384 for more informa...</div><div class="long">Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()
\r
385 for more information about the sides.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>sides</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getFrameWidth" ext:member="#getFrameWidth" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getHeight"></a><b><a href="source/Element.style.html#method-Ext.Element-getHeight">getHeight</a></b>( <span title="Optional" class="optional">[<code>Boolean contentHeight</code>]</span> )
\r
387 Number<div class="mdesc"><div class="short">Returns the offset height of the element</div><div class="long">Returns the offset height of the element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>contentHeight</code> : Boolean<div class="sub-desc">(optional) true to get the height minus borders and padding</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The element's height</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getHeight" ext:member="#getHeight" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getLeft"></a><b><a href="source/Element.position.html#method-Ext.Element-getLeft">getLeft</a></b>( <code>Boolean local</code> )
\r
389 Number<div class="mdesc"><div class="short">Gets the left X coordinate</div><div class="long">Gets the left X coordinate<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getLeft" ext:member="#getLeft" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getMargins"></a><b><a href="source/Element.style-more.html#method-Ext.Element-getMargins">getMargins</a></b>( <span title="Optional" class="optional">[<code>String sides</code>]</span> )
\r
391 Object/Number<div class="mdesc"><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">Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,
\r
392 then it returns the calculated width of the sides (see getPadding)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>sides</code> : String<div class="sub-desc">(optional) Any combination of l, r, t, b to get the sum of those sides</div></li></ul><strong>Returns:</strong><ul><li><code>Object/Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getMargins" ext:member="#getMargins" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getOffsetsTo"></a><b><a href="source/Element.position.html#method-Ext.Element-getOffsetsTo">getOffsetsTo</a></b>( <code>Mixed element</code> )
\r
394 Array<div class="mdesc"><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">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>element</code> : Mixed<div class="sub-desc">The element to get the offsets from.</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">The XY page offsets (e.g. [100, -200])</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getOffsetsTo" ext:member="#getOffsetsTo" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getPadding"></a><b><a href="source/Element.style.html#method-Ext.Element-getPadding">getPadding</a></b>( <code>String side</code> )
\r
396 Number<div class="mdesc"><div class="short">Gets the width of the padding(s) for the specified side(s)</div><div class="long">Gets the width of the padding(s) for the specified side(s)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>side</code> : String<div class="sub-desc">Can be t, l, r, b or any combination of those to add multiple values. For example,
397 passing <tt>'lr'</tt> would get the padding <b><u>l</u></b>eft + the padding <b><u>r</u></b>ight.</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The padding of the sides passed added together</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getPadding" ext:member="#getPadding" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getPositioning"></a><b><a href="source/Element.position.html#method-Ext.Element-getPositioning">getPositioning</a></b>()
\r
399 Object<div class="mdesc"><div class="short">Gets an object with all CSS positioning properties. Useful along with setPostioning to get
\r
400 snapshot before performin...</div><div class="long">Gets an object with all CSS positioning properties. Useful along with setPostioning to get
\r
401 snapshot before performing an update and then restoring the element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getPositioning" ext:member="#getPositioning" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getRegion"></a><b><a href="source/Element.position-more.html#method-Ext.Element-getRegion">getRegion</a></b>()
\r
403 Region<div class="mdesc"><div class="short">Returns the region of the given element.
\r
404 The element must be part of the DOM tree to have a region (display:none or ...</div><div class="long">Returns the region of the given element.
\r
405 The element must be part of the DOM tree to have a region (display:none or elements not appended return false).<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Region</code><div class="sub-desc">A Ext.lib.Region containing "top, left, bottom, right" member data.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getRegion" ext:member="#getRegion" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getRight"></a><b><a href="source/Element.position.html#method-Ext.Element-getRight">getRight</a></b>( <code>Boolean local</code> )
\r
407 Number<div class="mdesc"><div class="short">Gets the right X coordinate of the element (element X position + element width)</div><div class="long">Gets the right X coordinate of the element (element X position + element width)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getRight" ext:member="#getRight" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getScroll"></a><b><a href="source/Element.scroll.html#method-Ext.Element-getScroll">getScroll</a></b>()
\r
409 Object<div class="mdesc"><div class="short">Returns the current scroll position of the element.</div><div class="long">Returns the current scroll position of the element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">An object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getScroll" ext:member="#getScroll" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getSize"></a><b><a href="source/Element.style-more.html#method-Ext.Element-getSize">getSize</a></b>( <span title="Optional" class="optional">[<code>Boolean contentSize</code>]</span> )
\r
411 Object<div class="mdesc"><div class="short">Returns the size of the element.</div><div class="long">Returns the size of the element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>contentSize</code> : Boolean<div class="sub-desc">(optional) true to get the width/size minus borders and padding</div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getSize" ext:member="#getSize" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getStyle"></a><b><a href="source/Element.style.html#method-Ext.Element-getStyle">getStyle</a></b>( <code>String property</code> )
\r
413 String<div class="mdesc"><div class="short">Normalizes currentStyle and computedStyle.</div><div class="long">Normalizes currentStyle and computedStyle.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>property</code> : String<div class="sub-desc">The style property whose value is returned.</div></li></ul><strong>Returns:</strong><ul><li><code>String</code><div class="sub-desc">The current value of the style property for this element.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getStyle" ext:member="#getStyle" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getStyles"></a><b><a href="source/Element.style-more.html#method-Ext.Element-getStyles">getStyles</a></b>( <code>String style1</code>, <code>String style2</code>, <code>String etc.</code> )
\r
415 Object<div class="mdesc"><div class="short">Returns an object with properties matching the styles requested.
\r
416 For example, el.getStyles('color', 'font-size', 'wi...</div><div class="long">Returns an object with properties matching the styles requested.
\r
417 For example, el.getStyles('color', 'font-size', 'width') might return
\r
418 {'color': '#FFFFFF', 'font-size': '13px', 'width': '100px'}.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>style1</code> : String<div class="sub-desc">A style name</div></li><li><code>style2</code> : String<div class="sub-desc">A style name</div></li><li><code>etc.</code> : String<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">The style object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getStyles" ext:member="#getStyles" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getTextWidth"></a><b><a href="source/TextMetrics.html#method-Ext.Element-getTextWidth">getTextWidth</a></b>( <code>String text</code>, <span title="Optional" class="optional">[<code>Number min</code>]</span>, <span title="Optional" class="optional">[<code>Number max</code>]</span> )
\r
420 Number<div class="mdesc"><div class="short">Returns the width in pixels of the passed text, or the width of the text in this Element.</div><div class="long">Returns the width in pixels of the passed text, or the width of the text in this Element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>text</code> : String<div class="sub-desc">The text to measure. Defaults to the innerHTML of the element.</div></li><li><code>min</code> : Number<div class="sub-desc">(Optional) The minumum value to return.</div></li><li><code>max</code> : Number<div class="sub-desc">(Optional) The maximum value to return.</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The text width in pixels.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getTextWidth" ext:member="#getTextWidth" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getTop"></a><b><a href="source/Element.position.html#method-Ext.Element-getTop">getTop</a></b>( <code>Boolean local</code> )
\r
422 Number<div class="mdesc"><div class="short">Gets the top Y coordinate</div><div class="long">Gets the top Y coordinate<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getTop" ext:member="#getTop" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getUpdater"></a><b><a href="source/Element-more.html#method-Ext.Element-getUpdater">getUpdater</a></b>()
\r
424 Ext.Updater<div class="mdesc"><div class="short">Gets this element's Updater</div><div class="long">Gets this element's <a href="output/Ext.Updater.html" ext:cls="Ext.Updater">Updater</a><div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Updater</code><div class="sub-desc">The Updater</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getUpdater" ext:member="#getUpdater" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getValue"></a><b><a href="source/Element.html#method-Ext.Element-getValue">getValue</a></b>( <code>Boolean asNumber</code> )
\r
426 String/Number<div class="mdesc"><div class="short">Returns the value of the "value" attribute</div><div class="long">Returns the value of the "value" attribute<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>asNumber</code> : Boolean<div class="sub-desc">true to parse the value as a number</div></li></ul><strong>Returns:</strong><ul><li><code>String/Number</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getValue" ext:member="#getValue" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getViewSize"></a><b><a href="source/Element.style-more.html#method-Ext.Element-getViewSize">getViewSize</a></b>()
\r
428 Object<div class="mdesc"><div class="short">Returns the width and height of the viewport.
\r
429 var vpSize = Ext.getBody().getViewSize();
\r
431 // all Windows cr...</div><div class="long">Returns the width and height of the viewport.
\r
432 <pre><code><b>var</b> vpSize = Ext.getBody().getViewSize();
\r
434 <i>// all Windows created afterwards will have a <b>default</b> value of 90% height and 95% width
\r</i>
435 Ext.Window.override({
\r
436 width: vpSize.width * 0.9,
\r
437 height: vpSize.height * 0.95
\r
439 <i>// To handle window resizing you would have to hook onto onWindowResize.</i></code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">An object containing the viewport's size {width: (viewport width), height: (viewport height)}</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getViewSize" ext:member="#getViewSize" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getWidth"></a><b><a href="source/Element.style.html#method-Ext.Element-getWidth">getWidth</a></b>( <span title="Optional" class="optional">[<code>Boolean contentWidth</code>]</span> )
\r
441 Number<div class="mdesc"><div class="short">Returns the offset width of the element</div><div class="long">Returns the offset width of the element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>contentWidth</code> : Boolean<div class="sub-desc">(optional) true to get the width minus borders and padding</div></li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The element's width</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getWidth" ext:member="#getWidth" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getX"></a><b><a href="source/Element.position.html#method-Ext.Element-getX">getX</a></b>()
\r
443 Number<div class="mdesc"><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">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).<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The X position of the element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getX" ext:member="#getX" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getXY"></a><b><a href="source/Element.position.html#method-Ext.Element-getXY">getXY</a></b>()
\r
445 Array<div class="mdesc"><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">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).<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">The XY position of the element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getXY" ext:member="#getXY" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-getY"></a><b><a href="source/Element.position.html#method-Ext.Element-getY">getY</a></b>()
\r
447 Number<div class="mdesc"><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">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).<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Number</code><div class="sub-desc">The Y position of the element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#getY" ext:member="#getY" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-handleError"></a><b><a href="source/Error.html#method-Ext.Element-handleError">handleError</a></b>( <code>Object/Error e</code> )
\r
449 void<div class="mdesc"><div class="short">Framework-wide error-handler. Developers can override this method to provide
\r
450 custom exception-handling. Framework e...</div><div class="long">Framework-wide error-handler. Developers can override this method to provide
451 custom exception-handling. Framework errors will often extend from the base
452 Ext.Error class.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>e</code> : Object/Error<div class="sub-desc">The thrown exception object.</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#handleError" ext:member="#handleError" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-hasClass"></a><b><a href="source/Element.style.html#method-Ext.Element-hasClass">hasClass</a></b>( <code>String className</code> )
\r
454 Boolean<div class="mdesc"><div class="short">Checks if the specified CSS class exists on this element's DOM node.</div><div class="long">Checks if the specified CSS class exists on this element's DOM node.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>className</code> : String<div class="sub-desc">The CSS class to check for</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">True if the class exists, else false</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#hasClass" ext:member="#hasClass" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-hide"></a><b><a href="source/Element.fx.html#method-Ext.Element-hide">hide</a></b>( <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
456 Ext.Element<div class="mdesc"><div class="short">Hide this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible.</div><div class="long">Hide this element - Uses display mode to determine whether to use "display" or "visibility". See <a href="output/Ext.Element.html#Ext.Element-setVisible" ext:member="setVisible" ext:cls="Ext.Element">setVisible</a>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#hide" ext:member="#hide" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-hover"></a><b><a href="source/Element.html#method-Ext.Element-hover">hover</a></b>( <code>Function overFn</code>, <code>Function outFn</code>, <span title="Optional" class="optional">[<code>Object scope</code>]</span>, <span title="Optional" class="optional">[<code>Object options</code>]</span> )
\r
458 Ext.Element<div class="mdesc"><div class="short">Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element.</div><div class="long">Sets up event handlers to call the passed functions when the mouse is moved into and out of the Element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>overFn</code> : Function<div class="sub-desc">The function to call when the mouse enters the Element.</div></li><li><code>outFn</code> : Function<div class="sub-desc">The function to call when the mouse leaves the Element.</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<code>this</code> reference) in which the functions are executed. Defaults to the Element's DOM element.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) Options for the listener. See <a href="output/Ext.util.Observable.html#Ext.util.Observable-addListener" ext:member="addListener" ext:cls="Ext.util.Observable">the <tt>options</tt> parameter</a>.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#hover" ext:member="#hover" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-initDD"></a><b><a href="source/Element.dd.html#method-Ext.Element-initDD">initDD</a></b>( <code>String group</code>, <code>Object config</code>, <code>Object overrides</code> )
\r
460 Ext.dd.DD<div class="mdesc"><div class="short">Initializes a Ext.dd.DD drag drop object for this element.</div><div class="long">Initializes a <a href="output/Ext.dd.DD.html" ext:cls="Ext.dd.DD">Ext.dd.DD</a> drag drop object for this element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>group</code> : String<div class="sub-desc">The group the DD object is member of</div></li><li><code>config</code> : Object<div class="sub-desc">The DD config object</div></li><li><code>overrides</code> : Object<div class="sub-desc">An object containing methods to override/implement on the DD object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.dd.DD</code><div class="sub-desc">The DD object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#initDD" ext:member="#initDD" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-initDDProxy"></a><b><a href="source/Element.dd.html#method-Ext.Element-initDDProxy">initDDProxy</a></b>( <code>String group</code>, <code>Object config</code>, <code>Object overrides</code> )
\r
462 Ext.dd.DDProxy<div class="mdesc"><div class="short">Initializes a Ext.dd.DDProxy object for this element.</div><div class="long">Initializes a <a href="output/Ext.dd.DDProxy.html" ext:cls="Ext.dd.DDProxy">Ext.dd.DDProxy</a> object for this element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>group</code> : String<div class="sub-desc">The group the DDProxy object is member of</div></li><li><code>config</code> : Object<div class="sub-desc">The DDProxy config object</div></li><li><code>overrides</code> : Object<div class="sub-desc">An object containing methods to override/implement on the DDProxy object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.dd.DDProxy</code><div class="sub-desc">The DDProxy object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#initDDProxy" ext:member="#initDDProxy" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-initDDTarget"></a><b><a href="source/Element.dd.html#method-Ext.Element-initDDTarget">initDDTarget</a></b>( <code>String group</code>, <code>Object config</code>, <code>Object overrides</code> )
\r
464 Ext.dd.DDTarget<div class="mdesc"><div class="short">Initializes a Ext.dd.DDTarget object for this element.</div><div class="long">Initializes a <a href="output/Ext.dd.DDTarget.html" ext:cls="Ext.dd.DDTarget">Ext.dd.DDTarget</a> object for this element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>group</code> : String<div class="sub-desc">The group the DDTarget object is member of</div></li><li><code>config</code> : Object<div class="sub-desc">The DDTarget config object</div></li><li><code>overrides</code> : Object<div class="sub-desc">An object containing methods to override/implement on the DDTarget object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.dd.DDTarget</code><div class="sub-desc">The DDTarget object</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#initDDTarget" ext:member="#initDDTarget" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-insertAfter"></a><b><a href="source/Element.insertion.html#method-Ext.Element-insertAfter">insertAfter</a></b>( <code>Mixed el</code> )
\r
466 Ext.Element<div class="mdesc"><div class="short">Inserts this element after the passed element in the DOM</div><div class="long">Inserts this element after the passed element in the DOM<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed<div class="sub-desc">The element to insert after</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#insertAfter" ext:member="#insertAfter" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-insertBefore"></a><b><a href="source/Element.insertion.html#method-Ext.Element-insertBefore">insertBefore</a></b>( <code>Mixed el</code> )
\r
468 Ext.Element<div class="mdesc"><div class="short">Inserts this element before the passed element in the DOM</div><div class="long">Inserts this element before the passed element in the DOM<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed<div class="sub-desc">The element before which this element will be inserted</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#insertBefore" ext:member="#insertBefore" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-insertFirst"></a><b><a href="source/Element.insertion.html#method-Ext.Element-insertFirst">insertFirst</a></b>( <code>Mixed/Object el</code> )
\r
470 Ext.Element<div class="mdesc"><div class="short">Inserts (or creates) an element (or DomHelper config) as the first child of this element</div><div class="long">Inserts (or creates) an element (or DomHelper config) as the first child of this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed/Object<div class="sub-desc">The id or element to insert or a DomHelper config to create and insert</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">The new child</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#insertFirst" ext:member="#insertFirst" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-insertHtml"></a><b><a href="source/Element.insertion.html#method-Ext.Element-insertHtml">insertHtml</a></b>( <code>String where</code>, <code>String html</code>, <span title="Optional" class="optional">[<code>Boolean returnEl</code>]</span> )
\r
472 HTMLElement/Ext.Element<div class="mdesc"><div class="short">Inserts an html fragment into this element</div><div class="long">Inserts an html fragment into this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>where</code> : String<div class="sub-desc">Where to insert the html in relation to this element - beforeBegin, afterBegin, beforeEnd, afterEnd.</div></li><li><code>html</code> : String<div class="sub-desc">The HTML fragment</div></li><li><code>returnEl</code> : Boolean<div class="sub-desc">(optional) True to return an Ext.Element (defaults to false)</div></li></ul><strong>Returns:</strong><ul><li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The inserted node (or nearest related if more than 1 inserted)</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#insertHtml" ext:member="#insertHtml" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-insertSibling"></a><b><a href="source/Element.insertion-more.html#method-Ext.Element-insertSibling">insertSibling</a></b>( <code>Mixed/Object/Array el</code>, <span title="Optional" class="optional">[<code>String where</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
474 Ext.Element<div class="mdesc"><div class="short">Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element</div><div class="long">Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed/Object/Array<div class="sub-desc">The id, element to insert or a DomHelper config to create and insert *or* an array of any of those.</div></li><li><code>where</code> : String<div class="sub-desc">(optional) 'before' or 'after' defaults to before</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return the raw DOM element instead of Ext.Element</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">the inserted Element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#insertSibling" ext:member="#insertSibling" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-is"></a><b><a href="source/Element.html#method-Ext.Element-is">is</a></b>( <code>String selector</code> )
\r
476 Boolean<div class="mdesc"><div class="short">Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)</div><div class="long">Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">True if this element matches the selector, else false</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#is" ext:member="#is" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-isBorderBox"></a><b><a href="source/Element.html#method-Ext.Element-isBorderBox">isBorderBox</a></b>()
\r
478 Boolean<div class="mdesc"><div class="short">Tests various css rules/browsers to determine if this element uses a border box</div><div class="long">Tests various css rules/browsers to determine if this element uses a border box<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#isBorderBox" ext:member="#isBorderBox" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-isDisplayed"></a><b><a href="source/Element.fx-more.html#method-Ext.Element-isDisplayed">isDisplayed</a></b>()
\r
480 Boolean<div class="mdesc"><div class="short">Returns true if display is not "none"</div><div class="long">Returns true if display is not "none"<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#isDisplayed" ext:member="#isDisplayed" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-isMasked"></a><b><a href="source/Element.fx-more.html#method-Ext.Element-isMasked">isMasked</a></b>()
\r
482 Boolean<div class="mdesc"><div class="short">Returns true if this element is masked</div><div class="long">Returns true if this element is masked<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#isMasked" ext:member="#isMasked" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-isScrollable"></a><b><a href="source/Element.scroll.html#method-Ext.Element-isScrollable">isScrollable</a></b>()
\r
484 Boolean<div class="mdesc"><div class="short">Returns true if this element is scrollable.</div><div class="long">Returns true if this element is scrollable.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc"></div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#isScrollable" ext:member="#isScrollable" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-isVisible"></a><b><a href="source/Element.fx-more.html#method-Ext.Element-isVisible">isVisible</a></b>( <span title="Optional" class="optional">[<code>Boolean deep</code>]</span> )
\r
486 Boolean<div class="mdesc"><div class="short">Checks whether the element is currently visible using both visibility and display properties.</div><div class="long">Checks whether the element is currently visible using both visibility and display properties.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>deep</code> : Boolean<div class="sub-desc">(optional) True to walk the dom and see if parent elements are hidden (defaults to false)</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">True if the element is currently visible, else false</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#isVisible" ext:member="#isVisible" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-last"></a><b><a href="source/Element.traversal.html#method-Ext.Element-last">last</a></b>( <span title="Optional" class="optional">[<code>String selector</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
488 Ext.Element/HTMLElement<div class="mdesc"><div class="short">Gets the last child, skipping text nodes</div><div class="long">Gets the last child, skipping text nodes<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find the previous sibling that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The last child or null</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#last" ext:member="#last" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-load"></a><b><a href="source/Element-more.html#method-Ext.Element-load">load</a></b>()
\r
490 Ext.Element<div class="mdesc"><div class="short">Direct access to the Updater Ext.Updater.update method. The method takes the same object
\r
491 parameter as Ext.Updater.up...</div><div class="long">Direct access to the Updater <a href="output/Ext.Updater.html#Ext.Updater-update" ext:member="update" ext:cls="Ext.Updater">Ext.Updater.update</a> method. The method takes the same object
\r
492 parameter as <a href="output/Ext.Updater.html#Ext.Updater-update" ext:member="update" ext:cls="Ext.Updater">Ext.Updater.update</a><div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#load" ext:member="#load" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-mask"></a><b><a href="source/Element.fx-more.html#method-Ext.Element-mask">mask</a></b>( <span title="Optional" class="optional">[<code>String msg</code>]</span>, <span title="Optional" class="optional">[<code>String msgCls</code>]</span> )
\r
494 Element<div class="mdesc"><div class="short">Puts a mask over this element to disable user interaction. Requires core.css.
\r
495 This method can only be applied to ele...</div><div class="long">Puts a mask over this element to disable user interaction. Requires core.css.
\r
496 This method can only be applied to elements which accept child nodes.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>msg</code> : String<div class="sub-desc">(optional) A message to display in the mask</div></li><li><code>msgCls</code> : String<div class="sub-desc">(optional) A css class to apply to the msg element</div></li></ul><strong>Returns:</strong><ul><li><code>Element</code><div class="sub-desc">The mask element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#mask" ext:member="#mask" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-move"></a><b><a href="source/Element.position-more.html#method-Ext.Element-move">move</a></b>( <code>String direction</code>, <code>Number distance</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
498 Ext.Element<div class="mdesc"><div class="short">Move this element relative to its current position.</div><div class="long">Move this element relative to its current position.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>direction</code> : String<div class="sub-desc">Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").</div></li><li><code>distance</code> : Number<div class="sub-desc">How far to move the element in pixels</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#move" ext:member="#move" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-moveTo"></a><b><a href="source/Element.position.html#method-Ext.Element-moveTo">moveTo</a></b>( <code>Number x</code>, <code>Number y</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
500 Ext.Element<div class="mdesc"><div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
\r
501 The element must ...</div><div class="long">Sets the position of the element in page coordinates, regardless of how the element is positioned.
\r
502 The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>x</code> : Number<div class="sub-desc">X value for new position (coordinates are page-based)</div></li><li><code>y</code> : Number<div class="sub-desc">Y value for new position (coordinates are page-based)</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#moveTo" ext:member="#moveTo" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-next"></a><b><a href="source/Element.traversal.html#method-Ext.Element-next">next</a></b>( <span title="Optional" class="optional">[<code>String selector</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
504 Ext.Element/HTMLElement<div class="mdesc"><div class="short">Gets the next sibling, skipping text nodes</div><div class="long">Gets the next sibling, skipping text nodes<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find the next sibling that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The next sibling or null</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#next" ext:member="#next" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-on"></a><b><a href="source/Element.html#method-Ext.Element-on">on</a></b>( <code>String eventName</code>, <code>Function fn</code>, <span title="Optional" class="optional">[<code>Object scope</code>]</span>, <span title="Optional" class="optional">[<code>Object options</code>]</span> )
\r
506 void<div class="mdesc"><div class="short">Appends an event handler (shorthand for addListener).</div><div class="long">Appends an event handler (shorthand for <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a>).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of event to handle.</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function the event invokes.</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (<code>this</code> reference) in which the handler function is executed.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing standard <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> options</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#on" ext:member="#on" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-parent"></a><b><a href="source/Element.traversal.html#method-Ext.Element-parent">parent</a></b>( <span title="Optional" class="optional">[<code>String selector</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
508 Ext.Element/HTMLElement<div class="mdesc"><div class="short">Gets the parent node for this element, optionally chaining up trying to match a selector</div><div class="long">Gets the parent node for this element, optionally chaining up trying to match a selector<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find a parent node that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The parent node or null</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#parent" ext:member="#parent" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-position"></a><b><a href="source/Element.position.html#method-Ext.Element-position">position</a></b>( <span title="Optional" class="optional">[<code>String pos</code>]</span>, <span title="Optional" class="optional">[<code>Number zIndex</code>]</span>, <span title="Optional" class="optional">[<code>Number x</code>]</span>, <span title="Optional" class="optional">[<code>Number y</code>]</span> )
\r
510 void<div class="mdesc"><div class="short">Initializes positioning on this element. If a desired position is not passed, it will make the
\r
511 the element positione...</div><div class="long">Initializes positioning on this element. If a desired position is not passed, it will make the
\r
512 the element positioned relative IF it is not already positioned.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>pos</code> : String<div class="sub-desc">(optional) Positioning to use "relative", "absolute" or "fixed"</div></li><li><code>zIndex</code> : Number<div class="sub-desc">(optional) The zIndex to apply</div></li><li><code>x</code> : Number<div class="sub-desc">(optional) Set the page X position</div></li><li><code>y</code> : Number<div class="sub-desc">(optional) Set the page Y position</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#position" ext:member="#position" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-prev"></a><b><a href="source/Element.traversal.html#method-Ext.Element-prev">prev</a></b>( <span title="Optional" class="optional">[<code>String selector</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
514 Ext.Element/HTMLElement<div class="mdesc"><div class="short">Gets the previous sibling, skipping text nodes</div><div class="long">Gets the previous sibling, skipping text nodes<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">(optional) Find the previous sibling that matches the passed simple selector</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return a raw dom node instead of an Ext.Element</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The previous sibling or null</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#prev" ext:member="#prev" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-query"></a><b><a href="source/Element.traversal.html#method-Ext.Element-query">query</a></b>( <code>String selector</code> )
\r
516 Array<div class="mdesc"><div class="short">Selects child nodes based on the passed CSS selector (the selector should not contain an id).</div><div class="long">Selects child nodes based on the passed CSS selector (the selector should not contain an id).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li></ul><strong>Returns:</strong><ul><li><code>Array</code><div class="sub-desc">An array of the matched nodes</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#query" ext:member="#query" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-radioClass"></a><b><a href="source/Element.style.html#method-Ext.Element-radioClass">radioClass</a></b>( <code>String/Array className</code> )
\r
518 Ext.Element<div class="mdesc"><div class="short">Adds one or more CSS classes to this element and removes the same class(es) from all siblings.</div><div class="long">Adds one or more CSS classes to this element and removes the same class(es) from all siblings.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to add, or an array of classes</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#radioClass" ext:member="#radioClass" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-relayEvent"></a><b><a href="source/Element-more.html#method-Ext.Element-relayEvent">relayEvent</a></b>( <code>String eventName</code>, <code>Object object</code> )
\r
520 void<div class="mdesc"><div class="short">Create an event handler on this element such that when the event fires and is handled by this element,
\r
521 it will be re...</div><div class="long">Create an event handler on this element such that when the event fires and is handled by this element,
\r
522 it will be relayed to another object (i.e., fired again as if it originated from that object instead).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to relay</div></li><li><code>object</code> : Object<div class="sub-desc">Any object that extends <a href="output/Ext.util.Observable.html" ext:cls="Ext.util.Observable">Ext.util.Observable</a> that will provide the context
\r
523 for firing the relayed event</div></li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#relayEvent" ext:member="#relayEvent" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-remove"></a><b><a href="source/Element.html#method-Ext.Element-remove">remove</a></b>()
\r
525 void<div class="mdesc"><div class="short">Removes this element from the DOM and deletes it from the cache</div><div class="long">Removes this element from the DOM and deletes it from the cache<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#remove" ext:member="#remove" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-removeAllListeners"></a><b><a href="source/Element.html#method-Ext.Element-removeAllListeners">removeAllListeners</a></b>()
\r
527 Ext.Element<div class="mdesc"><div class="short">Removes all previous added listeners from this element</div><div class="long">Removes all previous added listeners from this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#removeAllListeners" ext:member="#removeAllListeners" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-removeClass"></a><b><a href="source/Element.style.html#method-Ext.Element-removeClass">removeClass</a></b>( <code>String/Array className</code> )
\r
529 Ext.Element<div class="mdesc"><div class="short">Removes one or more CSS classes from the element.</div><div class="long">Removes one or more CSS classes from the element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to remove, or an array of classes</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#removeClass" ext:member="#removeClass" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-removeListener"></a><b><a href="source/Element.html#method-Ext.Element-removeListener">removeListener</a></b>( <code>String eventName</code>, <code>Function fn</code>, <code>Object scope</code> )
\r
531 Ext.Element<div class="mdesc"><div class="short">Removes an event handler from this element. The shorthand version un is equivalent.
\r
532 Note: if a scope was explicitly...</div><div class="long">Removes an event handler from this element. The shorthand version <a href="output/Ext.Element.html#Ext.Element-un" ext:member="un" ext:cls="Ext.Element">un</a> is equivalent.
\r
533 <b>Note</b>: if a <i>scope</i> was explicitly specified when <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">adding</a> the
\r
534 listener, the same scope must be specified here.
\r
536 <pre><code>el.removeListener(<em>'click'</em>, this.handlerFn);
\r
538 el.un(<em>'click'</em>, this.handlerFn);</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event from which to remove the handler.</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function to remove. <b>This must be a reference to the function passed into the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</b></div></li><li><code>scope</code> : Object<div class="sub-desc">If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
\r
539 then this must refer to the same object.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#removeListener" ext:member="#removeListener" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-repaint"></a><b><a href="source/Element.style-more.html#method-Ext.Element-repaint">repaint</a></b>()
\r
541 Ext.Element<div class="mdesc"><div class="short">Forces the browser to repaint this element</div><div class="long">Forces the browser to repaint this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#repaint" ext:member="#repaint" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-replace"></a><b><a href="source/Element.insertion.html#method-Ext.Element-replace">replace</a></b>( <code>Mixed el</code> )
\r
543 Ext.Element<div class="mdesc"><div class="short">Replaces the passed element with this element</div><div class="long">Replaces the passed element with this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed<div class="sub-desc">The element to replace</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#replace" ext:member="#replace" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-replaceClass"></a><b><a href="source/Element.style.html#method-Ext.Element-replaceClass">replaceClass</a></b>( <code>String oldClassName</code>, <code>String newClassName</code> )
\r
545 Ext.Element<div class="mdesc"><div class="short">Replaces a CSS class on the element with another. If the old name does not exist, the new name will simply be added.</div><div class="long">Replaces a CSS class on the element with another. If the old name does not exist, the new name will simply be added.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>oldClassName</code> : String<div class="sub-desc">The CSS class to replace</div></li><li><code>newClassName</code> : String<div class="sub-desc">The replacement CSS class</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#replaceClass" ext:member="#replaceClass" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-replaceWith"></a><b><a href="source/Element.insertion.html#method-Ext.Element-replaceWith">replaceWith</a></b>( <code>Mixed/Object el</code> )
\r
547 Ext.Element<div class="mdesc"><div class="short">Replaces this element with the passed element</div><div class="long">Replaces this element with the passed element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>el</code> : Mixed/Object<div class="sub-desc">The new element or a DomHelper config of an element to create</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#replaceWith" ext:member="#replaceWith" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-scroll"></a><b><a href="source/Element.scroll-more.html#method-Ext.Element-scroll">scroll</a></b>( <code>String direction</code>, <code>Number distance</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
549 Boolean<div class="mdesc"><div class="short">Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
\r
550 within this element's ...</div><div class="long">Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
\r
551 within this element's scrollable range.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>direction</code> : String<div class="sub-desc">Possible values are: "l" (or "left"), "r" (or "right"), "t" (or "top", or "up"), "b" (or "bottom", or "down").</div></li><li><code>distance</code> : Number<div class="sub-desc">How far to scroll the element in pixels</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Boolean</code><div class="sub-desc">Returns true if a scroll was triggered or false if the element
\r
552 was scrolled as far as it could go.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#scroll" ext:member="#scroll" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-scrollIntoView"></a><b><a href="source/Element.scroll-more.html#method-Ext.Element-scrollIntoView">scrollIntoView</a></b>( <span title="Optional" class="optional">[<code>Mixed container</code>]</span>, <span title="Optional" class="optional">[<code>Boolean hscroll</code>]</span> )
\r
554 Ext.Element<div class="mdesc"><div class="short">Scrolls this element into view within the passed container.</div><div class="long">Scrolls this element into view within the passed container.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The container element to scroll (defaults to document.body). Should be a
\r
555 string (id), dom node, or Ext.Element.</div></li><li><code>hscroll</code> : Boolean<div class="sub-desc">(optional) False to disable horizontal scroll (defaults to true)</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#scrollIntoView" ext:member="#scrollIntoView" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-scrollTo"></a><b><a href="source/Element.scroll-more.html#method-Ext.Element-scrollTo">scrollTo</a></b>( <code>String side</code>, <code>Number value</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
557 Element<div class="mdesc"><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">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().<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>side</code> : String<div class="sub-desc">Either "left" for scrollLeft values or "top" for scrollTop values.</div></li><li><code>value</code> : Number<div class="sub-desc">The new scroll value</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#scrollTo" ext:member="#scrollTo" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-select"></a><b><a href="source/Element.traversal.html#method-Ext.Element-select">select</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Boolean unique</code>]</span> )
\r
559 CompositeElement/CompositeElementLite<div class="mdesc"><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">Creates a <a href="output/Ext.CompositeElement.html" ext:cls="Ext.CompositeElement">Ext.CompositeElement</a> for child nodes based on the passed CSS selector (the selector should not contain an id).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li><li><code>unique</code> : Boolean<div class="sub-desc">(optional) True to create a unique Ext.Element for each child (defaults to false, which creates a single shared flyweight object)</div></li></ul><strong>Returns:</strong><ul><li><code>CompositeElement/CompositeElementLite</code><div class="sub-desc">The composite element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#select" ext:member="#select" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-set"></a><b><a href="source/Element.html#method-Ext.Element-set">set</a></b>( <code>Object o</code>, <span title="Optional" class="optional">[<code>Boolean useSet</code>]</span> )
\r
561 Ext.Element<div class="mdesc"><div class="short">Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)</div><div class="long">Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>o</code> : Object<div class="sub-desc">The object with the attributes</div></li><li><code>useSet</code> : Boolean<div class="sub-desc">(optional) false to override the default setAttribute to use expandos.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#set" ext:member="#set" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setBottom"></a><b><a href="source/Element.position.html#method-Ext.Element-setBottom">setBottom</a></b>( <code>String bottom</code> )
\r
563 Ext.Element<div class="mdesc"><div class="short">Sets the element's CSS bottom style.</div><div class="long">Sets the element's CSS bottom style.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>bottom</code> : String<div class="sub-desc">The bottom CSS property value</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setBottom" ext:member="#setBottom" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setBounds"></a><b><a href="source/Element.position-more.html#method-Ext.Element-setBounds">setBounds</a></b>( <code>Number x</code>, <code>Number y</code>, <code>Mixed width</code>, <code>Mixed height</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
565 Ext.Element<div class="mdesc"><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">Sets the element's position and size in one shot. If animation is true then width, height, x and y will be animated concurrently.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>x</code> : Number<div class="sub-desc">X value for new position (coordinates are page-based)</div></li><li><code>y</code> : Number<div class="sub-desc">Y value for new position (coordinates are page-based)</div></li><li><code>width</code> : Mixed<div class="sub-desc">The new width. This may be one of:<div class="mdetail-params"><ul>
\r
566 <li>A Number specifying the new width in this Element's <a href="output/Ext.Element.html#Ext.Element-defaultUnit" ext:member="defaultUnit" ext:cls="Ext.Element">defaultUnit</a>s (by default, pixels)</li>
\r
567 <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
\r
568 </ul></div></div></li><li><code>height</code> : Mixed<div class="sub-desc">The new height. This may be one of:<div class="mdetail-params"><ul>
\r
569 <li>A Number specifying the new height in this Element's <a href="output/Ext.Element.html#Ext.Element-defaultUnit" ext:member="defaultUnit" ext:cls="Ext.Element">defaultUnit</a>s (by default, pixels)</li>
\r
570 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
\r
571 </ul></div></div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setBounds" ext:member="#setBounds" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setBox"></a><b><a href="source/Element.position-more.html#method-Ext.Element-setBox">setBox</a></b>( <code>Object box</code>, <span title="Optional" class="optional">[<code>Boolean adjust</code>]</span>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
573 Ext.Element<div class="mdesc"><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">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.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>box</code> : Object<div class="sub-desc">The box to fill {x, y, width, height}</div></li><li><code>adjust</code> : Boolean<div class="sub-desc">(optional) Whether to adjust for box-model issues automatically</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setBox" ext:member="#setBox" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setDisplayed"></a><b><a href="source/Element.fx.html#method-Ext.Element-setDisplayed">setDisplayed</a></b>( <code>Mixed value</code> )
\r
575 Ext.Element<div class="mdesc"><div class="short">Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.</div><div class="long">Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>value</code> : Mixed<div class="sub-desc">Boolean value to display the element using its default display, or a string to set the display directly.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setDisplayed" ext:member="#setDisplayed" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setHeight"></a><b><a href="source/Element.style.html#method-Ext.Element-setHeight">setHeight</a></b>( <code>Mixed height</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
577 Ext.Element<div class="mdesc"><div class="short">Set the height of this Element.
\r
578 // change the height to 200px and animate with default configuration
\r
579 Ext.fly('element...</div><div class="long">Set the height of this Element.
580 <pre><code><i>// change the height to 200px and animate <b>with</b> <b>default</b> configuration</i>
581 Ext.fly(<em>'elementId'</em>).setHeight(200, true);
583 <i>// change the height to 150px and animate <b>with</b> a custom configuration</i>
584 Ext.fly(<em>'elId'</em>).setHeight(150, {
585 duration : .5, <i>// animation will have a duration of .5 seconds</i>
586 <i>// will change the content to <em>"finished"</em></i>
587 callback: <b>function</b>(){ this.<a href="output/Ext.Element.html#Ext.Element-update" ext:member="update" ext:cls="Ext.Element">update</a>(<em>"finished"</em>); }
588 });</code></pre><div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>height</code> : Mixed<div class="sub-desc">The new height. This may be one of:<div class="mdetail-params"><ul>
589 <li>A Number specifying the new height in this Element's <a href="output/Ext.Element.html#Ext.Element-defaultUnit" ext:member="defaultUnit" ext:cls="Ext.Element">defaultUnit</a>s (by default, pixels.)</li>
590 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
591 </ul></div></div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setHeight" ext:member="#setHeight" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setLeft"></a><b><a href="source/Element.position.html#method-Ext.Element-setLeft">setLeft</a></b>( <code>String left</code> )
\r
593 Ext.Element<div class="mdesc"><div class="short">Sets the element's left position directly using CSS style (instead of setX).</div><div class="long">Sets the element's left position directly using CSS style (instead of <a href="output/Ext.Element.html#Ext.Element-setX" ext:member="setX" ext:cls="Ext.Element">setX</a>).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>left</code> : String<div class="sub-desc">The left CSS property value</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setLeft" ext:member="#setLeft" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setLeftTop"></a><b><a href="source/Element.position-more.html#method-Ext.Element-setLeftTop">setLeftTop</a></b>( <code>String left</code>, <code>String top</code> )
\r
595 Ext.Element<div class="mdesc"><div class="short">Quick set left and top adding default units</div><div class="long">Quick set left and top adding default units<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>left</code> : String<div class="sub-desc">The left CSS property value</div></li><li><code>top</code> : String<div class="sub-desc">The top CSS property value</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setLeftTop" ext:member="#setLeftTop" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setLocation"></a><b><a href="source/Element.position.html#method-Ext.Element-setLocation">setLocation</a></b>( <code>Number x</code>, <code>Number y</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
597 Ext.Element<div class="mdesc"><div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
\r
598 The element must ...</div><div class="long">Sets the position of the element in page coordinates, regardless of how the element is positioned.
\r
599 The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>x</code> : Number<div class="sub-desc">X value for new position (coordinates are page-based)</div></li><li><code>y</code> : Number<div class="sub-desc">Y value for new position (coordinates are page-based)</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setLocation" ext:member="#setLocation" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setOpacity"></a><b><a href="source/Element.style.html#method-Ext.Element-setOpacity">setOpacity</a></b>( <code>Float opacity</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
601 Ext.Element<div class="mdesc"><div class="short">Set the opacity of the element</div><div class="long">Set the opacity of the element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>opacity</code> : Float<div class="sub-desc">The new opacity. 0 = transparent, .5 = 50% visibile, 1 = fully visible, etc</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) a standard Element animation config object or <tt>true</tt> for
602 the default animation (<tt>{duration: .35, easing: 'easeIn'}</tt>)</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setOpacity" ext:member="#setOpacity" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setPositioning"></a><b><a href="source/Element.position.html#method-Ext.Element-setPositioning">setPositioning</a></b>( <code>Object posCfg</code> )
\r
604 Ext.Element<div class="mdesc"><div class="short">Set positioning with an object returned by getPositioning().</div><div class="long">Set positioning with an object returned by getPositioning().<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>posCfg</code> : Object<div class="sub-desc"></div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setPositioning" ext:member="#setPositioning" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setRegion"></a><b><a href="source/Element.position-more.html#method-Ext.Element-setRegion">setRegion</a></b>( <code>Ext.lib.Region region</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
606 Ext.Element<div class="mdesc"><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">Sets the element's position and size the specified region. If animation is true then width, height, x and y will be animated concurrently.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>region</code> : Ext.lib.Region<div class="sub-desc">The region to fill</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setRegion" ext:member="#setRegion" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setRight"></a><b><a href="source/Element.position.html#method-Ext.Element-setRight">setRight</a></b>( <code>String right</code> )
\r
608 Ext.Element<div class="mdesc"><div class="short">Sets the element's CSS right style.</div><div class="long">Sets the element's CSS right style.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>right</code> : String<div class="sub-desc">The right CSS property value</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setRight" ext:member="#setRight" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setSize"></a><b><a href="source/Element.style-more.html#method-Ext.Element-setSize">setSize</a></b>( <code>Mixed width</code>, <code>Mixed height</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
610 Ext.Element<div class="mdesc"><div class="short">Set the size of this Element. If animation is true, both width and height will be animated concurrently.</div><div class="long">Set the size of this Element. If animation is true, both width and height will be animated concurrently.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>width</code> : Mixed<div class="sub-desc">The new width. This may be one of:<div class="mdetail-params"><ul>
\r
611 <li>A Number specifying the new width in this Element's <a href="output/Ext.Element.html#Ext.Element-defaultUnit" ext:member="defaultUnit" ext:cls="Ext.Element">defaultUnit</a>s (by default, pixels).</li>
\r
612 <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
\r
613 <li>A size object in the format <code>{width: widthValue, height: heightValue}</code>.</li>
\r
614 </ul></div></div></li><li><code>height</code> : Mixed<div class="sub-desc">The new height. This may be one of:<div class="mdetail-params"><ul>
\r
615 <li>A Number specifying the new height in this Element's <a href="output/Ext.Element.html#Ext.Element-defaultUnit" ext:member="defaultUnit" ext:cls="Ext.Element">defaultUnit</a>s (by default, pixels).</li>
\r
616 <li>A String used to set the CSS height style. Animation may <b>not</b> be used.</li>
\r
617 </ul></div></div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setSize" ext:member="#setSize" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setStyle"></a><b><a href="source/Element.style.html#method-Ext.Element-setStyle">setStyle</a></b>( <code>String/Object property</code>, <span title="Optional" class="optional">[<code>String value</code>]</span> )
\r
619 Ext.Element<div class="mdesc"><div class="short">Wrapper for setting style properties, also takes single object parameter of multiple styles.</div><div class="long">Wrapper for setting style properties, also takes single object parameter of multiple styles.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>property</code> : String/Object<div class="sub-desc">The style property to be set, or an object of multiple styles.</div></li><li><code>value</code> : String<div class="sub-desc">(optional) The value to apply to the given property, or null if an object was passed.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setStyle" ext:member="#setStyle" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setTop"></a><b><a href="source/Element.position.html#method-Ext.Element-setTop">setTop</a></b>( <code>String top</code> )
\r
621 Ext.Element<div class="mdesc"><div class="short">Sets the element's top position directly using CSS style (instead of setY).</div><div class="long">Sets the element's top position directly using CSS style (instead of <a href="output/Ext.Element.html#Ext.Element-setY" ext:member="setY" ext:cls="Ext.Element">setY</a>).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>top</code> : String<div class="sub-desc">The top CSS property value</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setTop" ext:member="#setTop" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setVisibilityMode"></a><b><a href="source/Element.fx.html#method-Ext.Element-setVisibilityMode">setVisibilityMode</a></b>( <code>Number visMode</code> )
\r
623 Ext.Element<div class="mdesc"><div class="short">Sets the element's visibility mode. When setVisible() is called it
\r
624 will use this to determine whether to set the vis...</div><div class="long">Sets the element's visibility mode. When setVisible() is called it
\r
625 will use this to determine whether to set the visibility or the display property.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>visMode</code> : Number<div class="sub-desc">Ext.Element.VISIBILITY or Ext.Element.DISPLAY</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setVisibilityMode" ext:member="#setVisibilityMode" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setVisible"></a><b><a href="source/Element.fx.html#method-Ext.Element-setVisible">setVisible</a></b>( <code>Boolean visible</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
627 Ext.Element<div class="mdesc"><div class="short">Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
\r
628 the d...</div><div class="long">Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
\r
629 the display property to hide the element, otherwise it uses visibility. The default is to hide and show using the visibility property.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>visible</code> : Boolean<div class="sub-desc">Whether the element is visible</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setVisible" ext:member="#setVisible" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setWidth"></a><b><a href="source/Element.style.html#method-Ext.Element-setWidth">setWidth</a></b>( <code>Mixed width</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
631 Ext.Element<div class="mdesc"><div class="short">Set the width of this Element.</div><div class="long">Set the width of this Element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>width</code> : Mixed<div class="sub-desc">The new width. This may be one of:<div class="mdetail-params"><ul>
632 <li>A Number specifying the new width in this Element's <a href="output/Ext.Element.html#Ext.Element-defaultUnit" ext:member="defaultUnit" ext:cls="Ext.Element">defaultUnit</a>s (by default, pixels).</li>
633 <li>A String used to set the CSS width style. Animation may <b>not</b> be used.
634 </ul></div></div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setWidth" ext:member="#setWidth" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setX"></a><b><a href="source/Element.position.html#method-Ext.Element-setX">setX</a></b>( <code>Number The</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
636 Ext.Element<div class="mdesc"><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">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).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>The</code> : Number<div class="sub-desc">X position of the element</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setX" ext:member="#setX" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setXY"></a><b><a href="source/Element.position.html#method-Ext.Element-setXY">setXY</a></b>( <code>Array pos</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
638 Ext.Element<div class="mdesc"><div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
\r
639 The element must ...</div><div class="long">Sets the position of the element in page coordinates, regardless of how the element is positioned.
\r
640 The element must be part of the DOM tree to have page coordinates (display:none or elements not appended return false).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>pos</code> : Array<div class="sub-desc">Contains X & Y [x, y] values for new position (coordinates are page-based)</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setXY" ext:member="#setXY" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-setY"></a><b><a href="source/Element.position.html#method-Ext.Element-setY">setY</a></b>( <code>Number The</code>, <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
642 Ext.Element<div class="mdesc"><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">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).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>The</code> : Number<div class="sub-desc">Y position of the element</div></li><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#setY" ext:member="#setY" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable "><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Layer-setZIndex"></a><b><a href="source/Layer.html#method-Ext.Layer-setZIndex">setZIndex</a></b>( <code>Number zindex</code> )
\r
644 this<div class="mdesc"><div class="short">Sets the z-index of this layer and adjusts any shadow and shim z-indexes. The layer z-index is automatically
\r
645 incremen...</div><div class="long">Sets the z-index of this layer and adjusts any shadow and shim z-indexes. The layer z-index is automatically
646 incremented by two more than the value passed in so that it always shows above any shadow or shim (the shadow
647 element, if any, will be assigned z-index + 1, and the shim element, if any, will be assigned the unmodified z-index).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>zindex</code> : Number<div class="sub-desc">The new z-index to set</div></li></ul><strong>Returns:</strong><ul><li><code>this</code><div class="sub-desc">The Layer</div></li></ul></div></div></div></td><td class="msource">Layer</td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-show"></a><b><a href="source/Element.fx.html#method-Ext.Element-show">show</a></b>( <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
649 Ext.Element<div class="mdesc"><div class="short">Show this element - Uses display mode to determine whether to use "display" or "visibility". See setVisible.</div><div class="long">Show this element - Uses display mode to determine whether to use "display" or "visibility". See <a href="output/Ext.Element.html#Ext.Element-setVisible" ext:member="setVisible" ext:cls="Ext.Element">setVisible</a>.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) true for the default animation or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#show" ext:member="#show" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-swallowEvent"></a><b><a href="source/Element-more.html#method-Ext.Element-swallowEvent">swallowEvent</a></b>( <code>String/Array eventName</code>, <span title="Optional" class="optional">[<code>Boolean preventDefault</code>]</span> )
\r
651 Ext.Element<div class="mdesc"><div class="short">Stops the specified event(s) from bubbling and optionally prevents the default action</div><div class="long">Stops the specified event(s) from bubbling and optionally prevents the default action<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String/Array<div class="sub-desc">an event / array of events to stop from bubbling</div></li><li><code>preventDefault</code> : Boolean<div class="sub-desc">(optional) true to prevent the default action too</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#swallowEvent" ext:member="#swallowEvent" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-toggle"></a><b><a href="source/Element.fx.html#method-Ext.Element-toggle">toggle</a></b>( <span title="Optional" class="optional">[<code>Boolean/Object animate</code>]</span> )
\r
653 Ext.Element<div class="mdesc"><div class="short">Toggles the element's visibility or display, depending on visibility mode.</div><div class="long">Toggles the element's visibility or display, depending on visibility mode.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>animate</code> : Boolean/Object<div class="sub-desc">(optional) True for the default animation, or a standard Element animation config object</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#toggle" ext:member="#toggle" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-toggleClass"></a><b><a href="source/Element.style.html#method-Ext.Element-toggleClass">toggleClass</a></b>( <code>String className</code> )
\r
655 Ext.Element<div class="mdesc"><div class="short">Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).</div><div class="long">Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>className</code> : String<div class="sub-desc">The CSS class to toggle</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#toggleClass" ext:member="#toggleClass" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-translatePoints"></a><b><a href="source/Element.position.html#method-Ext.Element-translatePoints">translatePoints</a></b>( <code>Number/Array x</code>, <span title="Optional" class="optional">[<code>Number y</code>]</span> )
\r
657 Object<div class="mdesc"><div class="short">Translates the passed page coordinates into left/top css values for this element</div><div class="long">Translates the passed page coordinates into left/top css values for this element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>x</code> : Number/Array<div class="sub-desc">The page x or an array containing [x, y]</div></li><li><code>y</code> : Number<div class="sub-desc">(optional) The page y, required if x is not an array</div></li></ul><strong>Returns:</strong><ul><li><code>Object</code><div class="sub-desc">An object with left and top properties. e.g. {left: (value), top: (value)}</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#translatePoints" ext:member="#translatePoints" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-un"></a><b><a href="source/Element.html#method-Ext.Element-un">un</a></b>( <code>String eventName</code>, <code>Function fn</code>, <code>Object scope</code> )
\r
659 Ext.Element<div class="mdesc"><div class="short">Removes an event handler from this element (see removeListener for additional notes).</div><div class="long">Removes an event handler from this element (see <a href="output/Ext.Element.html#Ext.Element-removeListener" ext:member="removeListener" ext:cls="Ext.Element">removeListener</a> for additional notes).<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event from which to remove the handler.</div></li><li><code>fn</code> : Function<div class="sub-desc">The handler function to remove. <b>This must be a reference to the function passed into the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</b></div></li><li><code>scope</code> : Object<div class="sub-desc">If a scope (<b><code>this</code></b> reference) was specified when the listener was added,
\r
660 then this must refer to the same object.</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#un" ext:member="#un" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-unclip"></a><b><a href="source/Element.style.html#method-Ext.Element-unclip">unclip</a></b>()
\r
662 Ext.Element<div class="mdesc"><div class="short">Return clipping (overflow) to original clipping before clip was called</div><div class="long">Return clipping (overflow) to original clipping before <tt><a href="output/Ext.Element.html#Ext.Element-clip" ext:member="clip" ext:cls="Ext.Element">clip</a></tt> was called<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#unclip" ext:member="#unclip" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-unmask"></a><b><a href="source/Element.fx-more.html#method-Ext.Element-unmask">unmask</a></b>()
\r
664 void<div class="mdesc"><div class="short">Removes a previously applied mask.</div><div class="long">Removes a previously applied mask.<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li>void</li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#unmask" ext:member="#unmask" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-unselectable"></a><b><a href="source/Element.style-more.html#method-Ext.Element-unselectable">unselectable</a></b>()
\r
666 Ext.Element<div class="mdesc"><div class="short">Disables text selection for this element (normalized across browsers)</div><div class="long">Disables text selection for this element (normalized across browsers)<div class="mdetail-params"><strong>Parameters:</strong><ul><li>None.</li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#unselectable" ext:member="#unselectable" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-up"></a><b><a href="source/Element.traversal.html#method-Ext.Element-up">up</a></b>( <code>String selector</code>, <span title="Optional" class="optional">[<code>Number/Mixed maxDepth</code>]</span> )
\r
668 Ext.Element<div class="mdesc"><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">Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).
\r
669 This is a shortcut for findParentNode() that always returns an Ext.Element.<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li><li><code>maxDepth</code> : Number/Mixed<div class="sub-desc">(optional) The max depth to
\r
670 search as a number or element (defaults to 10 || document.body)</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#up" ext:member="#up" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-update"></a><b><a href="source/Element-more.html#method-Ext.Element-update">update</a></b>( <code>String html</code>, <span title="Optional" class="optional">[<code>Boolean loadScripts</code>]</span>, <span title="Optional" class="optional">[<code>Function callback</code>]</span> )
\r
672 Ext.Element<div class="mdesc"><div class="short">Update the innerHTML of this element, optionally searching for and processing scripts</div><div class="long">Update the innerHTML of this element, optionally searching for and processing scripts<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>html</code> : String<div class="sub-desc">The new HTML</div></li><li><code>loadScripts</code> : Boolean<div class="sub-desc">(optional) True to look for and process scripts (defaults to false)</div></li><li><code>callback</code> : Function<div class="sub-desc">(optional) For async script loading you can be notified when the update completes</div></li></ul><strong>Returns:</strong><ul><li><code>Ext.Element</code><div class="sub-desc">this</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#update" ext:member="#update" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-wrap"></a><b><a href="source/Element.insertion.html#method-Ext.Element-wrap">wrap</a></b>( <span title="Optional" class="optional">[<code>Object config</code>]</span>, <span title="Optional" class="optional">[<code>Boolean returnDom</code>]</span> )
\r
674 HTMLElement/Element<div class="mdesc"><div class="short">Creates and wraps this element with another element</div><div class="long">Creates and wraps this element with another element<div class="mdetail-params"><strong>Parameters:</strong><ul><li><code>config</code> : Object<div class="sub-desc">(optional) DomHelper element config object for the wrapper element or null for an empty div</div></li><li><code>returnDom</code> : Boolean<div class="sub-desc">(optional) True to return the raw DOM element instead of Ext.Element</div></li></ul><strong>Returns:</strong><ul><li><code>HTMLElement/Element</code><div class="sub-desc">The newly created wrapper element</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#wrap" ext:member="#wrap" ext:cls="Ext.Element">Element</a></td></tr></tbody></table><a id="Ext.Layer-events"></a><h2>Public Events</h2><table cellspacing="0" class="member-table"><tbody><tr><th colspan="2" class="sig-header">Event</th><th class="msource-header">Defined By</th></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMActivate"></a><b><a href="source/Element.html#event-Ext.Element-DOMActivate">DOMActivate</a></b> :
\r
675 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
676 <div class="mdesc"><div class="short">Where supported. Fires when an element is activated, for instance, through a mouse click or a keypress.</div><div class="long">Where supported. Fires when an element is activated, for instance, through a mouse click or a keypress.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMActivate" ext:member="#DOMActivate" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMAttrModified"></a><b><a href="source/Element.html#event-Ext.Element-DOMAttrModified">DOMAttrModified</a></b> :
\r
677 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
678 <div class="mdesc"><div class="short">Where supported. Fires when an attribute has been modified.</div><div class="long">Where supported. Fires when an attribute has been modified.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMAttrModified" ext:member="#DOMAttrModified" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMCharacterDataModified"></a><b><a href="source/Element.html#event-Ext.Element-DOMCharacterDataModified">DOMCharacterDataModified</a></b> :
\r
679 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
680 <div class="mdesc"><div class="short">Where supported. Fires when the character data has been modified.</div><div class="long">Where supported. Fires when the character data has been modified.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMCharacterDataModified" ext:member="#DOMCharacterDataModified" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMFocusIn"></a><b><a href="source/Element.html#event-Ext.Element-DOMFocusIn">DOMFocusIn</a></b> :
\r
681 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
682 <div class="mdesc"><div class="short">Where supported. Similar to HTML focus event, but can be applied to any focusable element.</div><div class="long">Where supported. Similar to HTML focus event, but can be applied to any focusable element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMFocusIn" ext:member="#DOMFocusIn" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMFocusOut"></a><b><a href="source/Element.html#event-Ext.Element-DOMFocusOut">DOMFocusOut</a></b> :
\r
683 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
684 <div class="mdesc"><div class="short">Where supported. Similar to HTML blur event, but can be applied to any focusable element.</div><div class="long">Where supported. Similar to HTML blur event, but can be applied to any focusable element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMFocusOut" ext:member="#DOMFocusOut" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMNodeInserted"></a><b><a href="source/Element.html#event-Ext.Element-DOMNodeInserted">DOMNodeInserted</a></b> :
\r
685 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
686 <div class="mdesc"><div class="short">Where supported. Fires when a node has been added as a child of another node.</div><div class="long">Where supported. Fires when a node has been added as a child of another node.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMNodeInserted" ext:member="#DOMNodeInserted" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMNodeInsertedIntoDocument"></a><b><a href="source/Element.html#event-Ext.Element-DOMNodeInsertedIntoDocument">DOMNodeInsertedIntoDocument</a></b> :
\r
687 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
688 <div class="mdesc"><div class="short">Where supported. Fires when a node is being inserted into a document.</div><div class="long">Where supported. Fires when a node is being inserted into a document.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMNodeInsertedIntoDocument" ext:member="#DOMNodeInsertedIntoDocument" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMNodeRemoved"></a><b><a href="source/Element.html#event-Ext.Element-DOMNodeRemoved">DOMNodeRemoved</a></b> :
\r
689 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
690 <div class="mdesc"><div class="short">Where supported. Fires when a descendant node of the element is removed.</div><div class="long">Where supported. Fires when a descendant node of the element is removed.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMNodeRemoved" ext:member="#DOMNodeRemoved" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMNodeRemovedFromDocument"></a><b><a href="source/Element.html#event-Ext.Element-DOMNodeRemovedFromDocument">DOMNodeRemovedFromDocument</a></b> :
\r
691 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
692 <div class="mdesc"><div class="short">Where supported. Fires when a node is being removed from a document.</div><div class="long">Where supported. Fires when a node is being removed from a document.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMNodeRemovedFromDocument" ext:member="#DOMNodeRemovedFromDocument" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-DOMSubtreeModified"></a><b><a href="source/Element.html#event-Ext.Element-DOMSubtreeModified">DOMSubtreeModified</a></b> :
\r
693 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
694 <div class="mdesc"><div class="short">Where supported. Fires when the subtree is modified.</div><div class="long">Where supported. Fires when the subtree is modified.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#DOMSubtreeModified" ext:member="#DOMSubtreeModified" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-abort"></a><b><a href="source/Element.html#event-Ext.Element-abort">abort</a></b> :
\r
695 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
696 <div class="mdesc"><div class="short">Fires when an object/image is stopped from loading before completely loaded.</div><div class="long">Fires when an object/image is stopped from loading before completely loaded.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#abort" ext:member="#abort" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-blur"></a><b><a href="source/Element.html#event-Ext.Element-blur">blur</a></b> :
\r
697 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
698 <div class="mdesc"><div class="short">Fires when an element loses focus either via the pointing device or by tabbing navigation.</div><div class="long">Fires when an element loses focus either via the pointing device or by tabbing navigation.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#blur" ext:member="#blur" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-change"></a><b><a href="source/Element.html#event-Ext.Element-change">change</a></b> :
\r
699 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
700 <div class="mdesc"><div class="short">Fires when a control loses the input focus and its value has been modified since gaining focus.</div><div class="long">Fires when a control loses the input focus and its value has been modified since gaining focus.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#change" ext:member="#change" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-click"></a><b><a href="source/Element.html#event-Ext.Element-click">click</a></b> :
\r
701 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
702 <div class="mdesc"><div class="short">Fires when a mouse click is detected within the element.</div><div class="long">Fires when a mouse click is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#click" ext:member="#click" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-contextmenu"></a><b><a href="source/Element.html#event-Ext.Element-contextmenu">contextmenu</a></b> :
\r
703 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
704 <div class="mdesc"><div class="short">Fires when a right click is detected within the element.</div><div class="long">Fires when a right click is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#contextmenu" ext:member="#contextmenu" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-dblclick"></a><b><a href="source/Element.html#event-Ext.Element-dblclick">dblclick</a></b> :
\r
705 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
706 <div class="mdesc"><div class="short">Fires when a mouse double click is detected within the element.</div><div class="long">Fires when a mouse double click is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#dblclick" ext:member="#dblclick" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-error"></a><b><a href="source/Element.html#event-Ext.Element-error">error</a></b> :
\r
707 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
708 <div class="mdesc"><div class="short">Fires when an object/image/frame cannot be loaded properly.</div><div class="long">Fires when an object/image/frame cannot be loaded properly.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#error" ext:member="#error" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-focus"></a><b><a href="source/Element.html#event-Ext.Element-focus">focus</a></b> :
\r
709 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
710 <div class="mdesc"><div class="short">Fires when an element receives focus either via the pointing device or by tab navigation.</div><div class="long">Fires when an element receives focus either via the pointing device or by tab navigation.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#focus" ext:member="#focus" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-keydown"></a><b><a href="source/Element.html#event-Ext.Element-keydown">keydown</a></b> :
\r
711 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
712 <div class="mdesc"><div class="short">Fires when a keydown is detected within the element.</div><div class="long">Fires when a keydown is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#keydown" ext:member="#keydown" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-keypress"></a><b><a href="source/Element.html#event-Ext.Element-keypress">keypress</a></b> :
\r
713 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
714 <div class="mdesc"><div class="short">Fires when a keypress is detected within the element.</div><div class="long">Fires when a keypress is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#keypress" ext:member="#keypress" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-keyup"></a><b><a href="source/Element.html#event-Ext.Element-keyup">keyup</a></b> :
\r
715 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
716 <div class="mdesc"><div class="short">Fires when a keyup is detected within the element.</div><div class="long">Fires when a keyup is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#keyup" ext:member="#keyup" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-load"></a><b><a href="source/Element.html#event-Ext.Element-load">load</a></b> :
\r
717 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
718 <div class="mdesc"><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">Fires when the user agent finishes loading all content within the element. Only supported by window, frames, objects and images.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#load" ext:member="#load" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-mousedown"></a><b><a href="source/Element.html#event-Ext.Element-mousedown">mousedown</a></b> :
\r
719 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
720 <div class="mdesc"><div class="short">Fires when a mousedown is detected within the element.</div><div class="long">Fires when a mousedown is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#mousedown" ext:member="#mousedown" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-mouseenter"></a><b><a href="source/Element.html#event-Ext.Element-mouseenter">mouseenter</a></b> :
\r
721 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
722 <div class="mdesc"><div class="short">Fires when the mouse enters the element.</div><div class="long">Fires when the mouse enters the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#mouseenter" ext:member="#mouseenter" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-mouseleave"></a><b><a href="source/Element.html#event-Ext.Element-mouseleave">mouseleave</a></b> :
\r
723 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
724 <div class="mdesc"><div class="short">Fires when the mouse leaves the element.</div><div class="long">Fires when the mouse leaves the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#mouseleave" ext:member="#mouseleave" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-mousemove"></a><b><a href="source/Element.html#event-Ext.Element-mousemove">mousemove</a></b> :
\r
725 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
726 <div class="mdesc"><div class="short">Fires when a mousemove is detected with the element.</div><div class="long">Fires when a mousemove is detected with the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#mousemove" ext:member="#mousemove" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-mouseout"></a><b><a href="source/Element.html#event-Ext.Element-mouseout">mouseout</a></b> :
\r
727 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
728 <div class="mdesc"><div class="short">Fires when a mouseout is detected with the element.</div><div class="long">Fires when a mouseout is detected with the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#mouseout" ext:member="#mouseout" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-mouseover"></a><b><a href="source/Element.html#event-Ext.Element-mouseover">mouseover</a></b> :
\r
729 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
730 <div class="mdesc"><div class="short">Fires when a mouseover is detected within the element.</div><div class="long">Fires when a mouseover is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#mouseover" ext:member="#mouseover" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-mouseup"></a><b><a href="source/Element.html#event-Ext.Element-mouseup">mouseup</a></b> :
\r
731 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
732 <div class="mdesc"><div class="short">Fires when a mouseup is detected within the element.</div><div class="long">Fires when a mouseup is detected within the element.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#mouseup" ext:member="#mouseup" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-reset"></a><b><a href="source/Element.html#event-Ext.Element-reset">reset</a></b> :
\r
733 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
734 <div class="mdesc"><div class="short">Fires when a form is reset.</div><div class="long">Fires when a form is reset.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#reset" ext:member="#reset" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-resize"></a><b><a href="source/Element.html#event-Ext.Element-resize">resize</a></b> :
\r
735 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
736 <div class="mdesc"><div class="short">Fires when a document view is resized.</div><div class="long">Fires when a document view is resized.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#resize" ext:member="#resize" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-scroll"></a><b><a href="source/Element.html#event-Ext.Element-scroll">scroll</a></b> :
\r
737 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
738 <div class="mdesc"><div class="short">Fires when a document view is scrolled.</div><div class="long">Fires when a document view is scrolled.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#scroll" ext:member="#scroll" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-select"></a><b><a href="source/Element.html#event-Ext.Element-select">select</a></b> :
\r
739 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
740 <div class="mdesc"><div class="short">Fires when a user selects some text in a text field, including input and textarea.</div><div class="long">Fires when a user selects some text in a text field, including input and textarea.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#select" ext:member="#select" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-submit"></a><b><a href="source/Element.html#event-Ext.Element-submit">submit</a></b> :
\r
741 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
742 <div class="mdesc"><div class="short">Fires when a form is submitted.</div><div class="long">Fires when a form is submitted.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#submit" ext:member="#submit" ext:cls="Ext.Element">Element</a></td></tr><tr class="method-row expandable inherited"><td class="micon"><a href="#expand" class="exi"> </a></td><td class="sig"><a id="Ext.Element-unload"></a><b><a href="source/Element.html#event-Ext.Element-unload">unload</a></b> :
\r
743 ( <code>Ext.EventObject e</code>, <code>HtmlElement t</code>, <code>Object o</code> )
\r
744 <div class="mdesc"><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">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.<div class="mdetail-params"><strong style="font-weight: normal;">Listeners will be called with the following arguments:</strong><ul><li><code>e</code> : Ext.EventObject<div class="sub-desc">The <a href="output/Ext.EventObject.html" ext:cls="Ext.EventObject">Ext.EventObject</a> encapsulating the DOM event.</div></li><li><code>t</code> : HtmlElement<div class="sub-desc">The target of the event.</div></li><li><code>o</code> : Object<div class="sub-desc">The options configuration passed to the <a href="output/Ext.Element.html#Ext.Element-addListener" ext:member="addListener" ext:cls="Ext.Element">addListener</a> call.</div></li></ul></div></div></div></td><td class="msource"><a href="output/Ext.Element.html#unload" ext:member="#unload" ext:cls="Ext.Element">Element</a></td></tr></tbody></table></div>