Subversion Repositories eFlore/Applications.cel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 aperonnet 1
        <div class="body-wrap">
2
        <div class="top-tools">
3
            <a class="inner-link" href="#Ext.Element-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
4
            <a class="inner-link" href="#Ext.Element-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
5
            <a class="inner-link" href="#Ext.Element-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
6
                        <a class="bookmark" href="../docs/?class=Ext.Element"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
7
        </div>
8
                <h1>Class Ext.Element</h1>
9
        <table cellspacing="0">
10
            <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
11
            <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/core/Element.js" target="_blank">Element.js</a></td></tr>
12
            <tr><td class="label">Class:</td><td class="hd-info">Element</td></tr>
13
                        <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.Layer" href="output/Ext.Layer.html">Layer</a></td></tr>
14
                                    <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
15
                    </table>
16
        <div class="description">
17
            Represents an Element in the DOM.<br><br>
18
Usage:<br>
19
<pre><code>var el = Ext.get(<em>"my-div"</em>);
20
 
21
<i>// or <b>with</b> getEl</i>
22
<b>var</b> el = getEl(<em>"my-div"</em>);
23
 
24
<i>// or <b>with</b> a DOM element</i>
25
<b>var</b> el = Ext.get(myDivElement);</code></pre>
26
Using Ext.get() or getEl() instead of calling the constructor directly ensures you get the same object
27
each call instead of constructing a new one.<br><br>
28
<b>Animations</b><br />
29
Many of the functions for manipulating an element have an optional "animate" parameter. The animate parameter
30
should either be a boolean (true) or an object literal with animation options. Note that the supported Element animation
31
options are a subset of the <a ext:cls="Ext.Fx" href="output/Ext.Fx.html">Ext.Fx</a> animation options specific to Fx effects.  The Element animation options are:
32
<pre>Option    Default   Description
33
--------- --------  ---------------------------------------------
34
duration  .35       The duration of the animation in seconds
35
easing    easeOut   The easing method
36
callback  none      A function to execute when the anim completes
37
scope     this      The scope (this) of the callback function</pre>
38
Also, the Anim object being used for the animation will be set on your options object as "anim", which allows you to stop or
39
manipulate the animation. Here's an example:
40
<pre><code>var el = Ext.get(<em>"my-div"</em>);
41
 
42
<i>// no animation</i>
43
el.setWidth(100);
44
 
45
<i>// <b>default</b> animation</i>
46
el.setWidth(100, true);
47
 
48
<i>// animation <b>with</b> some options set</i>
49
el.setWidth(100, {
50
    duration: 1,
51
    callback: <b>this</b>.foo,
52
    scope: <b>this</b>
53
});
54
 
55
<i>// using the <em>"anim"</em> property to get the Anim object</i>
56
<b>var</b> opt = {
57
    duration: 1,
58
    callback: <b>this</b>.foo,
59
    scope: <b>this</b>
60
};
61
el.setWidth(100, opt);
62
...
63
<b>if</b>(opt.anim.isAnimated()){
64
    opt.anim.stop();
65
}</code></pre>
66
<b> Composite (Collections of) Elements</b><br />
67
For working with collections of Elements, see <a ext:cls="Ext.CompositeElement" href="output/Ext.CompositeElement.html">Ext.CompositeElement</a>        </div>
68
 
69
        <div class="hr"></div>
70
                <a id="Ext.Element-props"></a>
71
        <h2>Public Properties</h2>
72
                <table cellspacing="0" class="member-table">
73
            <tr>
74
                <th class="sig-header" colspan="2">Property</th>
75
                <th class="msource-header">Defined By</th>
76
            </tr>
77
                <tr class="property-row">
78
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
79
        <td class="sig">
80
        <a id="Ext.Element-Element.DISPLAY"></a>
81
            <b>Element.DISPLAY</b> : Number            <div class="mdesc">
82
                            &lt;static&gt; Visibility mode constant - Use display to hide element                        </div>
83
        </td>
84
        <td class="msource">Element</td>
85
    </tr>
86
        <tr class="property-row alt">
87
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
88
        <td class="sig">
89
        <a id="Ext.Element-Element.VISIBILITY"></a>
90
            <b>Element.VISIBILITY</b> : Number            <div class="mdesc">
91
                            &lt;static&gt; Visibility mode constant - Use visibility to hide element                        </div>
92
        </td>
93
        <td class="msource">Element</td>
94
    </tr>
95
        <tr class="property-row">
96
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
97
        <td class="sig">
98
        <a id="Ext.Element-defaultUnit"></a>
99
            <b>defaultUnit</b> : String            <div class="mdesc">
100
                            The default unit to append to CSS values where a unit isn't provided (defaults to px).                        </div>
101
        </td>
102
        <td class="msource">Element</td>
103
    </tr>
104
        <tr class="property-row alt">
105
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
106
        <td class="sig">
107
        <a id="Ext.Element-dom"></a>
108
            <b>dom</b> : HTMLElement            <div class="mdesc">
109
                            The DOM element                        </div>
110
        </td>
111
        <td class="msource">Element</td>
112
    </tr>
113
        <tr class="property-row">
114
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
115
        <td class="sig">
116
        <a id="Ext.Element-id"></a>
117
            <b>id</b> : String            <div class="mdesc">
118
                            The DOM element ID                        </div>
119
        </td>
120
        <td class="msource">Element</td>
121
    </tr>
122
        <tr class="property-row alt">
123
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
124
        <td class="sig">
125
        <a id="Ext.Element-originalDisplay"></a>
126
            <b>originalDisplay</b> : String            <div class="mdesc">
127
                            The element's default display mode  (defaults to "")                        </div>
128
        </td>
129
        <td class="msource">Element</td>
130
    </tr>
131
            </table>
132
                <a id="Ext.Element-methods"></a>
133
        <h2>Public Methods</h2>
134
                <table cellspacing="0" class="member-table">
135
            <tr>
136
                <th class="sig-header" colspan="2">Method</th>
137
                <th class="msource-header">Defined By</th>
138
            </tr>
139
                <tr class="method-row expandable">
140
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
141
        <td class="sig">
142
        <a id="Ext.Element-Element"></a>
143
            <b>Element</b>(&nbsp;<code>String/HTMLElement element</code>, <span class="optional" title="Optional">[<code>Boolean forceNew</code>]</span>&nbsp;)            <div class="mdesc">
144
                        <div class="short">Create a new Element directly.</div>
145
            <div class="long">
146
                Create a new Element directly.    <div class="mdetail-params">
147
        <strong>Parameters:</strong>
148
        <ul><li><code>element</code> : String/HTMLElement<div class="sub-desc"></div></li><li><code>forceNew</code> : Boolean<div class="sub-desc">(optional) By default the constructor checks to see if there is already an instance of this element in the cache and if there is it returns the same instance. This will skip that check (useful for extending this class).</div></li>        </ul>
149
        <strong>Returns:</strong>
150
        <ul>
151
            <li><code></code></li>
152
        </ul>
153
    </div>
154
                </div>
155
                        </div>
156
        </td>
157
        <td class="msource">Element</td>
158
    </tr>
159
        <tr class="method-row alt expandable">
160
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
161
        <td class="sig">
162
        <a id="Ext.Element-Element.fly"></a>
163
            <b>Element.fly</b>(&nbsp;<code>String/HTMLElement el</code>, <span class="optional" title="Optional">[<code>String named</code>]</span>&nbsp;) : Element            <div class="mdesc">
164
                        <div class="short">&lt;static&gt; Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a...</div>
165
            <div class="long">
166
                &lt;static&gt; Gets the globally shared flyweight Element, with the passed node as the active element. Do not store a reference to this element -
167
the dom node can be overwritten by other code.    <div class="mdetail-params">
168
        <strong>Parameters:</strong>
169
        <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
170
prevent conflicts (e.g. internally Ext uses "_internal")</div></li>        </ul>
171
        <strong>Returns:</strong>
172
        <ul>
173
            <li><code>Element</code><div class="sub-desc">The shared Element object (or null if no matching element was found)</div></li>
174
        </ul>
175
    </div>
176
                </div>
177
                        </div>
178
        </td>
179
        <td class="msource">Element</td>
180
    </tr>
181
        <tr class="method-row expandable">
182
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
183
        <td class="sig">
184
        <a id="Ext.Element-Element.get"></a>
185
            <b>Element.get</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Element            <div class="mdesc">
186
                        <div class="short">&lt;static&gt; Static method to retrieve Element objects. Uses simple caching to consistently return the same object....</div>
187
            <div class="long">
188
                &lt;static&gt; Static method to retrieve Element objects. Uses simple caching to consistently return the same object.
189
Automatically fixes if an object was recreated with the same id via AJAX or DOM.    <div class="mdetail-params">
190
        <strong>Parameters:</strong>
191
        <ul><li><code>el</code> : Mixed<div class="sub-desc">The id of the node, a DOM Node or an existing Element.</div></li>        </ul>
192
        <strong>Returns:</strong>
193
        <ul>
194
            <li><code>Element</code><div class="sub-desc">The Element object (or null if no matching element was found)</div></li>
195
        </ul>
196
    </div>
197
                </div>
198
                        </div>
199
        </td>
200
        <td class="msource">Element</td>
201
    </tr>
202
        <tr class="method-row alt expandable">
203
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
204
        <td class="sig">
205
        <a id="Ext.Element-addClass"></a>
206
            <b>addClass</b>(&nbsp;<code>String/Array className</code>&nbsp;) : Ext.Element            <div class="mdesc">
207
                        <div class="short">Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.</div>
208
            <div class="long">
209
                Adds one or more CSS classes to the element. Duplicate classes are automatically filtered out.    <div class="mdetail-params">
210
        <strong>Parameters:</strong>
211
        <ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to add, or an array of classes</div></li>        </ul>
212
        <strong>Returns:</strong>
213
        <ul>
214
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
215
        </ul>
216
    </div>
217
                </div>
218
                        </div>
219
        </td>
220
        <td class="msource">Element</td>
221
    </tr>
222
        <tr class="method-row expandable">
223
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
224
        <td class="sig">
225
        <a id="Ext.Element-addClassOnClick"></a>
226
            <b>addClassOnClick</b>(&nbsp;<code>String className</code>&nbsp;) : Ext.Element            <div class="mdesc">
227
                        <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 effect)</div>
228
            <div class="long">
229
                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">
230
        <strong>Parameters:</strong>
231
        <ul><li><code>className</code> : String<div class="sub-desc"></div></li>        </ul>
232
        <strong>Returns:</strong>
233
        <ul>
234
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
235
        </ul>
236
    </div>
237
                </div>
238
                        </div>
239
        </td>
240
        <td class="msource">Element</td>
241
    </tr>
242
        <tr class="method-row alt expandable">
243
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
244
        <td class="sig">
245
        <a id="Ext.Element-addClassOnFocus"></a>
246
            <b>addClassOnFocus</b>(&nbsp;<code>String className</code>&nbsp;) : Ext.Element            <div class="mdesc">
247
                        <div class="short">Sets up event handlers to add and remove a css class when this element has the focus</div>
248
            <div class="long">
249
                Sets up event handlers to add and remove a css class when this element has the focus    <div class="mdetail-params">
250
        <strong>Parameters:</strong>
251
        <ul><li><code>className</code> : String<div class="sub-desc"></div></li>        </ul>
252
        <strong>Returns:</strong>
253
        <ul>
254
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
255
        </ul>
256
    </div>
257
                </div>
258
                        </div>
259
        </td>
260
        <td class="msource">Element</td>
261
    </tr>
262
        <tr class="method-row expandable">
263
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
264
        <td class="sig">
265
        <a id="Ext.Element-addClassOnOver"></a>
266
            <b>addClassOnOver</b>(&nbsp;<code>String className</code>, <span class="optional" title="Optional">[<code>Boolean preventFlicker</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
267
                        <div class="short">Sets up event handlers to add and remove a css class when the mouse is over this element</div>
268
            <div class="long">
269
                Sets up event handlers to add and remove a css class when the mouse is over this element    <div class="mdetail-params">
270
        <strong>Parameters:</strong>
271
        <ul><li><code>className</code> : String<div class="sub-desc"></div></li><li><code>preventFlicker</code> : Boolean<div class="sub-desc">(optional) If set to true, it prevents flickering by filtering
272
mouseout events for children elements</div></li>        </ul>
273
        <strong>Returns:</strong>
274
        <ul>
275
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
276
        </ul>
277
    </div>
278
                </div>
279
                        </div>
280
        </td>
281
        <td class="msource">Element</td>
282
    </tr>
283
        <tr class="method-row alt expandable">
284
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
285
        <td class="sig">
286
        <a id="Ext.Element-addKeyListener"></a>
287
            <b>addKeyListener</b>(&nbsp;<code>Number/Array/Object/String key</code>, <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.KeyMap            <div class="mdesc">
288
                        <div class="short">Convenience method for constructing a KeyMap</div>
289
            <div class="long">
290
                Convenience method for constructing a KeyMap    <div class="mdetail-params">
291
        <strong>Parameters:</strong>
292
        <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:
293
{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>
294
        <strong>Returns:</strong>
295
        <ul>
296
            <li><code>Ext.KeyMap</code><div class="sub-desc">The KeyMap created</div></li>
297
        </ul>
298
    </div>
299
                </div>
300
                        </div>
301
        </td>
302
        <td class="msource">Element</td>
303
    </tr>
304
        <tr class="method-row expandable">
305
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
306
        <td class="sig">
307
        <a id="Ext.Element-addKeyMap"></a>
308
            <b>addKeyMap</b>(&nbsp;<code>Object config</code>&nbsp;) : Ext.KeyMap            <div class="mdesc">
309
                        <div class="short">Creates a KeyMap for this element</div>
310
            <div class="long">
311
                Creates a KeyMap for this element    <div class="mdetail-params">
312
        <strong>Parameters:</strong>
313
        <ul><li><code>config</code> : Object<div class="sub-desc">The KeyMap config. See <a ext:cls="Ext.KeyMap" href="output/Ext.KeyMap.html">Ext.KeyMap</a> for more details</div></li>        </ul>
314
        <strong>Returns:</strong>
315
        <ul>
316
            <li><code>Ext.KeyMap</code><div class="sub-desc">The KeyMap created</div></li>
317
        </ul>
318
    </div>
319
                </div>
320
                        </div>
321
        </td>
322
        <td class="msource">Element</td>
323
    </tr>
324
        <tr class="method-row alt expandable">
325
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
326
        <td class="sig">
327
        <a id="Ext.Element-addListener"></a>
328
            <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
329
                        <div class="short">Appends an event handler to this element.  The shorthand version <a ext:cls="Ext.Element" ext:member="on" href="output/Ext.Element.html#on">on</a> is equivalent.</div>
330
            <div class="long">
331
                Appends an event handler to this element.  The shorthand version <a ext:cls="Ext.Element" ext:member="on" href="output/Ext.Element.html#on">on</a> is equivalent.    <div class="mdetail-params">
332
        <strong>Parameters:</strong>
333
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type 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 (this element) of the handler function</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration properties.
334
This may contain any of the following properties:<ul>
335
<li>scope {Object} : The scope in which to execute the handler function. The handler function's "this" context.</li>
336
<li>delegate {String} : A simple selector to filter the target or look for a descendant of the target</li>
337
<li>stopEvent {Boolean} : True to stop the event. That is stop propagation, and prevent the default action.</li>
338
<li>preventDefault {Boolean} : True to prevent the default action</li>
339
<li>stopPropagation {Boolean} : True to prevent event propagation</li>
340
<li>normalized {Boolean} : False to pass a browser event to the handler function instead of an Ext.EventObject</li>
341
<li>delay {Number} : The number of milliseconds to delay the invocation of the handler after te event fires.</li>
342
<li>single {Boolean} : True to add a handler to handle just the next firing of the event, and then remove itself.</li>
343
<li>buffer {Number} : Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
344
by the specified number of milliseconds. If the event fires again within that time, the original
345
handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>
346
</ul><br>
347
<p>
348
<b>Combining Options</b><br>
349
In the following examples, the shorthand form <a ext:cls="Ext.Element" ext:member="on" href="output/Ext.Element.html#on">on</a> is used rather than the more verbose
350
addListener. The two are equivalent. Using the options argument, it is possible to combine different
351
types of listeners:<br>
352
<br>
353
A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)<div style="margin: 5px 20px 20px;">
354
Code:<pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
355
    single: true,
356
    delay: 100,
357
    stopEvent : true,
358
    forumId: 4
359
});</code></pre>
360
<p>
361
<b>Attaching multiple handlers in 1 call</b><br>
362
The method also allows for a single argument to be passed which is a config object containing properties
363
which specify multiple handlers.
364
<p>
365
Code:<pre><code>el.on({
366
    <em>'click'</em> : {
367
        fn: <b>this</b>.onClick,
368
        scope: <b>this</b>,
369
        delay: 100
370
    },
371
    <em>'mouseover'</em> : {
372
        fn: <b>this</b>.onMouseOver,
373
        scope: <b>this</b>
374
    },
375
    <em>'mouseout'</em> : {
376
        fn: <b>this</b>.onMouseOut,
377
        scope: <b>this</b>
378
    }
379
});</code></pre>
380
<p>
381
Or a shorthand syntax:<br>
382
Code:<pre><code>el.on({
383
    <em>'click'</em> : <b>this</b>.onClick,
384
    <em>'mouseover'</em> : <b>this</b>.onMouseOver,
385
    <em>'mouseout'</em> : <b>this</b>.onMouseOut,
386
    scope: <b>this</b>
387
});</code></pre></div></li>        </ul>
388
        <strong>Returns:</strong>
389
        <ul>
390
            <li><code>void</code></li>
391
        </ul>
392
    </div>
393
                </div>
394
                        </div>
395
        </td>
396
        <td class="msource">Element</td>
397
    </tr>
398
        <tr class="method-row expandable">
399
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
400
        <td class="sig">
401
        <a id="Ext.Element-alignTo"></a>
402
            <b>alignTo</b>(&nbsp;<code>Mixed element</code>, <code>String position</code>, <span class="optional" title="Optional">[<code>Array offsets</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
403
                        <div class="short">Aligns this element with another element relative to the specified anchor points. If the other element is the
404
documen...</div>
405
            <div class="long">
406
                Aligns this element with another element relative to the specified anchor points. If the other element is the
407
document it aligns it to the viewport.
408
The position parameter is optional, and can be specified in any one of the following formats:
409
<ul>
410
<li><b>Blank</b>: Defaults to aligning the element's top-left corner to the target's bottom-left corner ("tl-bl").</li>
411
<li><b>One anchor (deprecated)</b>: The passed anchor position is used as the target element's anchor point.
412
The element being aligned will position its top-left corner (tl) to that point.  <i>This method has been
413
deprecated in favor of the newer two anchor syntax below</i>.</li>
414
<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
415
element's anchor point, and the second value is used as the target's anchor point.</li>
416
</ul>
417
In addition to the anchor points, the position parameter also supports the "?" character.  If "?" is passed at the end of
418
the position string, the element will attempt to align as specified, but the position will be adjusted to constrain to
419
the viewport if necessary.  Note that the element being aligned might be swapped to align to a different position than
420
that specified in order to enforce the viewport constraints.
421
Following are all of the supported anchor positions:
422
<pre>Value  Description
423
-----  -----------------------------
424
tl     The top left corner (default)
425
t      The center of the top edge
426
tr     The top right corner
427
l      The center of the left edge
428
c      In the center of the element
429
r      The center of the right edge
430
bl     The bottom left corner
431
b      The center of the bottom edge
432
br     The bottom right corner</pre>
433
Example Usage:
434
<pre><code><i>// align el to other-el using the <b>default</b> positioning (<em>"tl-bl"</em>, non-constrained)</i>
435
el.alignTo(<em>"other-el"</em>);
436
 
437
<i>// align the top left corner of el <b>with</b> the top right corner of other-el (constrained to viewport)</i>
438
el.alignTo(<em>"other-el"</em>, <em>"tr?"</em>);
439
 
440
<i>// align the bottom right corner of el <b>with</b> the center left edge of other-el</i>
441
el.alignTo(<em>"other-el"</em>, <em>"br-l?"</em>);
442
 
443
<i>// align the center of el <b>with</b> the bottom left corner of other-el and</i>
444
<i>// adjust the x position by -6 pixels (and the y position by 0)</i>
445
el.alignTo(<em>"other-el"</em>, <em>"c-bl"</em>, [-6, 0]);</code></pre>    <div class="mdetail-params">
446
        <strong>Parameters:</strong>
447
        <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>
448
        <strong>Returns:</strong>
449
        <ul>
450
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
451
        </ul>
452
    </div>
453
                </div>
454
                        </div>
455
        </td>
456
        <td class="msource">Element</td>
457
    </tr>
458
        <tr class="method-row alt expandable">
459
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
460
        <td class="sig">
461
        <a id="Ext.Element-anchorTo"></a>
462
            <b>anchorTo</b>(&nbsp;<code>Mixed element</code>, <code>String position</code>, <span class="optional" title="Optional">[<code>Array offsets</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number monitorScroll</code>]</span>, <code>Function callback</code>&nbsp;) : Ext.Element            <div class="mdesc">
463
                        <div class="short">Anchors an element to another element and realigns it when the window is resized.</div>
464
            <div class="long">
465
                Anchors an element to another element and realigns it when the window is resized.    <div class="mdetail-params">
466
        <strong>Parameters:</strong>
467
        <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
468
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>
469
        <strong>Returns:</strong>
470
        <ul>
471
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
472
        </ul>
473
    </div>
474
                </div>
475
                        </div>
476
        </td>
477
        <td class="msource">Element</td>
478
    </tr>
479
        <tr class="method-row expandable">
480
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
481
        <td class="sig">
482
        <a id="Ext.Element-animate"></a>
483
            <b>animate</b>(&nbsp;<code>Object args</code>, <span class="optional" title="Optional">[<code>Float duration</code>]</span>, <span class="optional" title="Optional">[<code>Function onComplete</code>]</span>, <span class="optional" title="Optional">[<code>String easing</code>]</span>, <span class="optional" title="Optional">[<code>String animType</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
484
                        <div class="short">Perform animation on this element.</div>
485
            <div class="long">
486
                Perform animation on this element.    <div class="mdetail-params">
487
        <strong>Parameters:</strong>
488
        <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 .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><li><code>animType</code> : String<div class="sub-desc">(optional) 'run' is the default. Can also be 'color', 'motion', or 'scroll'</div></li>        </ul>
489
        <strong>Returns:</strong>
490
        <ul>
491
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
492
        </ul>
493
    </div>
494
                </div>
495
                        </div>
496
        </td>
497
        <td class="msource">Element</td>
498
    </tr>
499
        <tr class="method-row alt expandable">
500
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
501
        <td class="sig">
502
        <a id="Ext.Element-appendChild"></a>
503
            <b>appendChild</b>(&nbsp;<code>String/HTMLElement/Array/Element/CompositeElement el</code>&nbsp;) : Ext.Element            <div class="mdesc">
504
                        <div class="short">Appends the passed element(s) to this element</div>
505
            <div class="long">
506
                Appends the passed element(s) to this element    <div class="mdetail-params">
507
        <strong>Parameters:</strong>
508
        <ul><li><code>el</code> : String/HTMLElement/Array/Element/CompositeElement<div class="sub-desc"></div></li>        </ul>
509
        <strong>Returns:</strong>
510
        <ul>
511
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
512
        </ul>
513
    </div>
514
                </div>
515
                        </div>
516
        </td>
517
        <td class="msource">Element</td>
518
    </tr>
519
        <tr class="method-row expandable">
520
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
521
        <td class="sig">
522
        <a id="Ext.Element-appendTo"></a>
523
            <b>appendTo</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Ext.Element            <div class="mdesc">
524
                        <div class="short">Appends this element to the passed element</div>
525
            <div class="long">
526
                Appends this element to the passed element    <div class="mdetail-params">
527
        <strong>Parameters:</strong>
528
        <ul><li><code>el</code> : Mixed<div class="sub-desc">The new parent element</div></li>        </ul>
529
        <strong>Returns:</strong>
530
        <ul>
531
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
532
        </ul>
533
    </div>
534
                </div>
535
                        </div>
536
        </td>
537
        <td class="msource">Element</td>
538
    </tr>
539
        <tr class="method-row alt expandable">
540
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
541
        <td class="sig">
542
        <a id="Ext.Element-applyStyles"></a>
543
            <b>applyStyles</b>(&nbsp;<code>String/Object/Function styles</code>&nbsp;) : Ext.Element            <div class="mdesc">
544
                        <div class="short">More flexible version of <a ext:cls="Ext.Element" ext:member="setStyle" href="output/Ext.Element.html#setStyle">setStyle</a> for setting style properties.</div>
545
            <div class="long">
546
                More flexible version of <a ext:cls="Ext.Element" ext:member="setStyle" href="output/Ext.Element.html#setStyle">setStyle</a> for setting style properties.    <div class="mdetail-params">
547
        <strong>Parameters:</strong>
548
        <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
549
a function which returns such a specification.</div></li>        </ul>
550
        <strong>Returns:</strong>
551
        <ul>
552
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
553
        </ul>
554
    </div>
555
                </div>
556
                        </div>
557
        </td>
558
        <td class="msource">Element</td>
559
    </tr>
560
        <tr class="method-row expandable">
561
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
562
        <td class="sig">
563
        <a id="Ext.Element-autoHeight"></a>
564
            <b>autoHeight</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean animate</code>]</span>, <span class="optional" title="Optional">[<code>Float duration</code>]</span>, <span class="optional" title="Optional">[<code>Function onComplete</code>]</span>, <span class="optional" title="Optional">[<code>String easing</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
565
                        <div class="short">Measures the element's content height and updates height to match. Note: this function uses setTimeout so
566
the new hei...</div>
567
            <div class="long">
568
                Measures the element's content height and updates height to match. Note: this function uses setTimeout so
569
the new height may not be available immediately.    <div class="mdetail-params">
570
        <strong>Parameters:</strong>
571
        <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>
572
        <strong>Returns:</strong>
573
        <ul>
574
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
575
        </ul>
576
    </div>
577
                </div>
578
                        </div>
579
        </td>
580
        <td class="msource">Element</td>
581
    </tr>
582
        <tr class="method-row alt expandable">
583
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
584
        <td class="sig">
585
        <a id="Ext.Element-blur"></a>
586
            <b>blur</b>() : Ext.Element            <div class="mdesc">
587
                        <div class="short">Tries to blur the element. Any exceptions are caught and ignored.</div>
588
            <div class="long">
589
                Tries to blur the element. Any exceptions are caught and ignored.    <div class="mdetail-params">
590
        <strong>Parameters:</strong>
591
        <ul><li>None.</li>        </ul>
592
        <strong>Returns:</strong>
593
        <ul>
594
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
595
        </ul>
596
    </div>
597
                </div>
598
                        </div>
599
        </td>
600
        <td class="msource">Element</td>
601
    </tr>
602
        <tr class="method-row expandable">
603
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
604
        <td class="sig">
605
        <a id="Ext.Element-boxWrap"></a>
606
            <b>boxWrap</b>(&nbsp;<span class="optional" title="Optional">[<code>String class</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
607
                        <div class="short">Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a
608
gradie...</div>
609
            <div class="long">
610
                Wraps the specified element with a special markup/CSS block that renders by default as a gray container with a
611
gradient background, rounded corners and a 4-way shadow.  Example usage:
612
<pre><code>
613
// Basic box wrap
614
Ext.get("foo").boxWrap();
615
 
616
// You can also add a custom class and use CSS inheritance rules to customize the box look.
617
// 'x-box-blue' is a built-in alternative -- look at the related CSS definitions as an example
618
// for how to create a custom box wrap style.
619
Ext.get("foo").boxWrap().addClass("x-box-blue");</pre></code>    <div class="mdetail-params">
620
        <strong>Parameters:</strong>
621
        <ul><li><code>class</code> : String<div class="sub-desc">(optional) A base CSS class to apply to the containing wrapper element (defaults to 'x-box').
622
Note that there are a number of CSS rules that are dependent on this name to make the overall effect work,
623
so if you supply an alternate base class, make sure you also supply all of the necessary rules.</div></li>        </ul>
624
        <strong>Returns:</strong>
625
        <ul>
626
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
627
        </ul>
628
    </div>
629
                </div>
630
                        </div>
631
        </td>
632
        <td class="msource">Element</td>
633
    </tr>
634
        <tr class="method-row alt expandable">
635
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
636
        <td class="sig">
637
        <a id="Ext.Element-center"></a>
638
            <b>center</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed centerIn</code>]</span>&nbsp;) : void            <div class="mdesc">
639
                        <div class="short">Centers the Element in either the viewport, or another Element.</div>
640
            <div class="long">
641
                Centers the Element in either the viewport, or another Element.    <div class="mdetail-params">
642
        <strong>Parameters:</strong>
643
        <ul><li><code>centerIn</code> : Mixed<div class="sub-desc">(optional) The element in which to center the element.</div></li>        </ul>
644
        <strong>Returns:</strong>
645
        <ul>
646
            <li><code>void</code></li>
647
        </ul>
648
    </div>
649
                </div>
650
                        </div>
651
        </td>
652
        <td class="msource">Element</td>
653
    </tr>
654
        <tr class="method-row expandable">
655
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
656
        <td class="sig">
657
        <a id="Ext.Element-child"></a>
658
            <b>child</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : HTMLElement/Ext.Element            <div class="mdesc">
659
                        <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>
660
            <div class="long">
661
                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">
662
        <strong>Parameters:</strong>
663
        <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>
664
        <strong>Returns:</strong>
665
        <ul>
666
            <li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The child Ext.Element (or DOM node if returnDom = true)</div></li>
667
        </ul>
668
    </div>
669
                </div>
670
                        </div>
671
        </td>
672
        <td class="msource">Element</td>
673
    </tr>
674
        <tr class="method-row alt expandable">
675
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
676
        <td class="sig">
677
        <a id="Ext.Element-clean"></a>
678
            <b>clean</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean forceReclean</code>]</span>&nbsp;) : void            <div class="mdesc">
679
                        <div class="short">Removes worthless text nodes</div>
680
            <div class="long">
681
                Removes worthless text nodes    <div class="mdetail-params">
682
        <strong>Parameters:</strong>
683
        <ul><li><code>forceReclean</code> : Boolean<div class="sub-desc">(optional) By default the element
684
keeps track if it has been cleaned already so
685
you can call this over and over. However, if you update the element and
686
need to force a reclean, you can pass true.</div></li>        </ul>
687
        <strong>Returns:</strong>
688
        <ul>
689
            <li><code>void</code></li>
690
        </ul>
691
    </div>
692
                </div>
693
                        </div>
694
        </td>
695
        <td class="msource">Element</td>
696
    </tr>
697
        <tr class="method-row expandable">
698
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
699
        <td class="sig">
700
        <a id="Ext.Element-clearOpacity"></a>
701
            <b>clearOpacity</b>() : Ext.Element            <div class="mdesc">
702
                        <div class="short">Clears any opacity settings from this element. Required in some cases for IE.</div>
703
            <div class="long">
704
                Clears any opacity settings from this element. Required in some cases for IE.    <div class="mdetail-params">
705
        <strong>Parameters:</strong>
706
        <ul><li>None.</li>        </ul>
707
        <strong>Returns:</strong>
708
        <ul>
709
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
710
        </ul>
711
    </div>
712
                </div>
713
                        </div>
714
        </td>
715
        <td class="msource">Element</td>
716
    </tr>
717
        <tr class="method-row alt expandable">
718
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
719
        <td class="sig">
720
        <a id="Ext.Element-clearPositioning"></a>
721
            <b>clearPositioning</b>(&nbsp;<span class="optional" title="Optional">[<code>String value</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
722
                        <div class="short">Clear positioning back to the default when the document was loaded</div>
723
            <div class="long">
724
                Clear positioning back to the default when the document was loaded    <div class="mdetail-params">
725
        <strong>Parameters:</strong>
726
        <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>
727
        <strong>Returns:</strong>
728
        <ul>
729
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
730
        </ul>
731
    </div>
732
                </div>
733
                        </div>
734
        </td>
735
        <td class="msource">Element</td>
736
    </tr>
737
        <tr class="method-row expandable">
738
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
739
        <td class="sig">
740
        <a id="Ext.Element-clip"></a>
741
            <b>clip</b>() : Ext.Element            <div class="mdesc">
742
                        <div class="short">Store the current overflow setting and clip overflow on the element - use <a ext:cls="Ext.Element" ext:member="unclip" href="output/Ext.Element.html#unclip">unclip</a> to remove</div>
743
            <div class="long">
744
                Store the current overflow setting and clip overflow on the element - use <a ext:cls="Ext.Element" ext:member="unclip" href="output/Ext.Element.html#unclip">unclip</a> to remove    <div class="mdetail-params">
745
        <strong>Parameters:</strong>
746
        <ul><li>None.</li>        </ul>
747
        <strong>Returns:</strong>
748
        <ul>
749
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
750
        </ul>
751
    </div>
752
                </div>
753
                        </div>
754
        </td>
755
        <td class="msource">Element</td>
756
    </tr>
757
        <tr class="method-row alt expandable">
758
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
759
        <td class="sig">
760
        <a id="Ext.Element-contains"></a>
761
            <b>contains</b>(&nbsp;<code>HTMLElement/String el</code>&nbsp;) : Boolean            <div class="mdesc">
762
                        <div class="short">Returns true if this element is an ancestor of the passed element</div>
763
            <div class="long">
764
                Returns true if this element is an ancestor of the passed element    <div class="mdetail-params">
765
        <strong>Parameters:</strong>
766
        <ul><li><code>el</code> : HTMLElement/String<div class="sub-desc">The element to check</div></li>        </ul>
767
        <strong>Returns:</strong>
768
        <ul>
769
            <li><code>Boolean</code><div class="sub-desc">True if this element is an ancestor of el, else false</div></li>
770
        </ul>
771
    </div>
772
                </div>
773
                        </div>
774
        </td>
775
        <td class="msource">Element</td>
776
    </tr>
777
        <tr class="method-row expandable">
778
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
779
        <td class="sig">
780
        <a id="Ext.Element-createChild"></a>
781
            <b>createChild</b>(&nbsp;<code>Object config</code>, <span class="optional" title="Optional">[<code>HTMLElement insertBefore</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
782
                        <div class="short">Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child e...</div>
783
            <div class="long">
784
                Creates the passed DomHelper config and appends it to this element or optionally inserts it before the passed child element.    <div class="mdetail-params">
785
        <strong>Parameters:</strong>
786
        <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
787
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>
788
        <strong>Returns:</strong>
789
        <ul>
790
            <li><code>Ext.Element</code><div class="sub-desc">The new child element</div></li>
791
        </ul>
792
    </div>
793
                </div>
794
                        </div>
795
        </td>
796
        <td class="msource">Element</td>
797
    </tr>
798
        <tr class="method-row alt expandable">
799
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
800
        <td class="sig">
801
        <a id="Ext.Element-createProxy"></a>
802
            <b>createProxy</b>(&nbsp;<code>String/Object config</code>, <span class="optional" title="Optional">[<code>String/HTMLElement renderTo</code>]</span>, <span class="optional" title="Optional">[<code>Boolean matchBox</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
803
                        <div class="short">Creates a proxy element of this element</div>
804
            <div class="long">
805
                Creates a proxy element of this element    <div class="mdetail-params">
806
        <strong>Parameters:</strong>
807
        <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>
808
        <strong>Returns:</strong>
809
        <ul>
810
            <li><code>Ext.Element</code><div class="sub-desc">The new proxy element</div></li>
811
        </ul>
812
    </div>
813
                </div>
814
                        </div>
815
        </td>
816
        <td class="msource">Element</td>
817
    </tr>
818
        <tr class="method-row expandable">
819
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
820
        <td class="sig">
821
        <a id="Ext.Element-createShim"></a>
822
            <b>createShim</b>() : Ext.Element            <div class="mdesc">
823
                        <div class="short">Creates an iframe shim for this element to keep selects and other windowed objects from
824
showing through.</div>
825
            <div class="long">
826
                Creates an iframe shim for this element to keep selects and other windowed objects from
827
showing through.    <div class="mdetail-params">
828
        <strong>Parameters:</strong>
829
        <ul><li>None.</li>        </ul>
830
        <strong>Returns:</strong>
831
        <ul>
832
            <li><code>Ext.Element</code><div class="sub-desc">The new shim element</div></li>
833
        </ul>
834
    </div>
835
                </div>
836
                        </div>
837
        </td>
838
        <td class="msource">Element</td>
839
    </tr>
840
        <tr class="method-row alt expandable">
841
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
842
        <td class="sig">
843
        <a id="Ext.Element-down"></a>
844
            <b>down</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : HTMLElement/Ext.Element            <div class="mdesc">
845
                        <div class="short">Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).</div>
846
            <div class="long">
847
                Selects a single *direct* child based on the passed CSS selector (the selector should not contain an id).    <div class="mdetail-params">
848
        <strong>Parameters:</strong>
849
        <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>
850
        <strong>Returns:</strong>
851
        <ul>
852
            <li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The child Ext.Element (or DOM node if returnDom = true)</div></li>
853
        </ul>
854
    </div>
855
                </div>
856
                        </div>
857
        </td>
858
        <td class="msource">Element</td>
859
    </tr>
860
        <tr class="method-row expandable">
861
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
862
        <td class="sig">
863
        <a id="Ext.Element-enableDisplayMode"></a>
864
            <b>enableDisplayMode</b>(&nbsp;<span class="optional" title="Optional">[<code>String display</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
865
                        <div class="short">Convenience method for setVisibilityMode(Element.DISPLAY)</div>
866
            <div class="long">
867
                Convenience method for setVisibilityMode(Element.DISPLAY)    <div class="mdetail-params">
868
        <strong>Parameters:</strong>
869
        <ul><li><code>display</code> : String<div class="sub-desc">(optional) What to set display to when visible</div></li>        </ul>
870
        <strong>Returns:</strong>
871
        <ul>
872
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
873
        </ul>
874
    </div>
875
                </div>
876
                        </div>
877
        </td>
878
        <td class="msource">Element</td>
879
    </tr>
880
        <tr class="method-row alt expandable">
881
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
882
        <td class="sig">
883
        <a id="Ext.Element-findParent"></a>
884
            <b>findParent</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Number/Mixed maxDepth</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnEl</code>]</span>&nbsp;) : HTMLElement            <div class="mdesc">
885
                        <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>
886
            <div class="long">
887
                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">
888
        <strong>Parameters:</strong>
889
        <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
890
 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>
891
        <strong>Returns:</strong>
892
        <ul>
893
            <li><code>HTMLElement</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li>
894
        </ul>
895
    </div>
896
                </div>
897
                        </div>
898
        </td>
899
        <td class="msource">Element</td>
900
    </tr>
901
        <tr class="method-row expandable">
902
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
903
        <td class="sig">
904
        <a id="Ext.Element-findParentNode"></a>
905
            <b>findParentNode</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Number/Mixed maxDepth</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnEl</code>]</span>&nbsp;) : HTMLElement            <div class="mdesc">
906
                        <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>
907
            <div class="long">
908
                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">
909
        <strong>Parameters:</strong>
910
        <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
911
 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>
912
        <strong>Returns:</strong>
913
        <ul>
914
            <li><code>HTMLElement</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li>
915
        </ul>
916
    </div>
917
                </div>
918
                        </div>
919
        </td>
920
        <td class="msource">Element</td>
921
    </tr>
922
        <tr class="method-row alt expandable">
923
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
924
        <td class="sig">
925
        <a id="Ext.Element-first"></a>
926
            <b>first</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
927
                        <div class="short">Gets the first child, skipping text nodes</div>
928
            <div class="long">
929
                Gets the first child, skipping text nodes    <div class="mdetail-params">
930
        <strong>Parameters:</strong>
931
        <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>
932
        <strong>Returns:</strong>
933
        <ul>
934
            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The first child or null</div></li>
935
        </ul>
936
    </div>
937
                </div>
938
                        </div>
939
        </td>
940
        <td class="msource">Element</td>
941
    </tr>
942
        <tr class="method-row expandable">
943
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
944
        <td class="sig">
945
        <a id="Ext.Element-focus"></a>
946
            <b>focus</b>() : Ext.Element            <div class="mdesc">
947
                        <div class="short">Tries to focus the element. Any exceptions are caught and ignored.</div>
948
            <div class="long">
949
                Tries to focus the element. Any exceptions are caught and ignored.    <div class="mdetail-params">
950
        <strong>Parameters:</strong>
951
        <ul><li>None.</li>        </ul>
952
        <strong>Returns:</strong>
953
        <ul>
954
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
955
        </ul>
956
    </div>
957
                </div>
958
                        </div>
959
        </td>
960
        <td class="msource">Element</td>
961
    </tr>
962
        <tr class="method-row alt expandable">
963
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
964
        <td class="sig">
965
        <a id="Ext.Element-getAlignToXY"></a>
966
            <b>getAlignToXY</b>(&nbsp;<code>Mixed element</code>, <code>String position</code>, <span class="optional" title="Optional">[<code>Array offsets</code>]</span>&nbsp;) : Array            <div class="mdesc">
967
                        <div class="short">Gets the x,y coordinates to align this element with another element. See alignTo for more info on the
968
supported posit...</div>
969
            <div class="long">
970
                Gets the x,y coordinates to align this element with another element. See <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">alignTo</a> for more info on the
971
supported position values.    <div class="mdetail-params">
972
        <strong>Parameters:</strong>
973
        <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>
974
        <strong>Returns:</strong>
975
        <ul>
976
            <li><code>Array</code><div class="sub-desc">[x, y]</div></li>
977
        </ul>
978
    </div>
979
                </div>
980
                        </div>
981
        </td>
982
        <td class="msource">Element</td>
983
    </tr>
984
        <tr class="method-row expandable">
985
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
986
        <td class="sig">
987
        <a id="Ext.Element-getAnchorXY"></a>
988
            <b>getAnchorXY</b>(&nbsp;<span class="optional" title="Optional">[<code>String anchor</code>]</span>, <span class="optional" title="Optional">[<code>Boolean local</code>]</span>, <span class="optional" title="Optional">[<code>Object size</code>]</span>&nbsp;) : Array            <div class="mdesc">
989
                        <div class="short">Gets the x,y coordinates specified by the anchor position on the element.</div>
990
            <div class="long">
991
                Gets the x,y coordinates specified by the anchor position on the element.    <div class="mdetail-params">
992
        <strong>Parameters:</strong>
993
        <ul><li><code>anchor</code> : String<div class="sub-desc">(optional) The specified anchor position (defaults to "c"). See <a ext:cls="Ext.Element" ext:member="alignTo" href="output/Ext.Element.html#alignTo">alignTo</a>
994
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
995
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
996
{width: (target width), height: (target height)} (defaults to the element's current size)</div></li>        </ul>
997
        <strong>Returns:</strong>
998
        <ul>
999
            <li><code>Array</code><div class="sub-desc">[x, y] An array containing the element's x and y coordinates</div></li>
1000
        </ul>
1001
    </div>
1002
                </div>
1003
                        </div>
1004
        </td>
1005
        <td class="msource">Element</td>
1006
    </tr>
1007
        <tr class="method-row alt expandable">
1008
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1009
        <td class="sig">
1010
        <a id="Ext.Element-getAttributeNS"></a>
1011
            <b>getAttributeNS</b>(&nbsp;<code>String namespace</code>, <code>String name</code>&nbsp;) : String            <div class="mdesc">
1012
                        <div class="short">Returns the value of a namespaced attribute from the element's underlying DOM node.</div>
1013
            <div class="long">
1014
                Returns the value of a namespaced attribute from the element's underlying DOM node.    <div class="mdetail-params">
1015
        <strong>Parameters:</strong>
1016
        <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>
1017
        <strong>Returns:</strong>
1018
        <ul>
1019
            <li><code>String</code><div class="sub-desc">The attribute value</div></li>
1020
        </ul>
1021
    </div>
1022
                </div>
1023
                        </div>
1024
        </td>
1025
        <td class="msource">Element</td>
1026
    </tr>
1027
        <tr class="method-row expandable">
1028
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1029
        <td class="sig">
1030
        <a id="Ext.Element-getBorderWidth"></a>
1031
            <b>getBorderWidth</b>(&nbsp;<code>String side</code>&nbsp;) : Number            <div class="mdesc">
1032
                        <div class="short">Gets the width of the border(s) for the specified side(s)</div>
1033
            <div class="long">
1034
                Gets the width of the border(s) for the specified side(s)    <div class="mdetail-params">
1035
        <strong>Parameters:</strong>
1036
        <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,
1037
passing lr would get the border (l)eft width + the border (r)ight width.</div></li>        </ul>
1038
        <strong>Returns:</strong>
1039
        <ul>
1040
            <li><code>Number</code><div class="sub-desc">The width of the sides passed added together</div></li>
1041
        </ul>
1042
    </div>
1043
                </div>
1044
                        </div>
1045
        </td>
1046
        <td class="msource">Element</td>
1047
    </tr>
1048
        <tr class="method-row alt expandable">
1049
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1050
        <td class="sig">
1051
        <a id="Ext.Element-getBottom"></a>
1052
            <b>getBottom</b>(&nbsp;<code>Boolean local</code>&nbsp;) : Number            <div class="mdesc">
1053
                        <div class="short">Gets the bottom Y coordinate of the element (element Y position + element height)</div>
1054
            <div class="long">
1055
                Gets the bottom Y coordinate of the element (element Y position + element height)    <div class="mdetail-params">
1056
        <strong>Parameters:</strong>
1057
        <ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li>        </ul>
1058
        <strong>Returns:</strong>
1059
        <ul>
1060
            <li><code>Number</code></li>
1061
        </ul>
1062
    </div>
1063
                </div>
1064
                        </div>
1065
        </td>
1066
        <td class="msource">Element</td>
1067
    </tr>
1068
        <tr class="method-row expandable">
1069
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1070
        <td class="sig">
1071
        <a id="Ext.Element-getBox"></a>
1072
            <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean contentBox</code>]</span>, <span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object            <div class="mdesc">
1073
                        <div class="short">Return a box {x, y, width, height} that can be used to set another elements
1074
size/location to match this element.</div>
1075
            <div class="long">
1076
                Return a box {x, y, width, height} that can be used to set another elements
1077
size/location to match this element.    <div class="mdetail-params">
1078
        <strong>Parameters:</strong>
1079
        <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>
1080
        <strong>Returns:</strong>
1081
        <ul>
1082
            <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
1083
        </ul>
1084
    </div>
1085
                </div>
1086
                        </div>
1087
        </td>
1088
        <td class="msource">Element</td>
1089
    </tr>
1090
        <tr class="method-row alt expandable">
1091
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1092
        <td class="sig">
1093
        <a id="Ext.Element-getCenterXY"></a>
1094
            <b>getCenterXY</b>() : Array            <div class="mdesc">
1095
                        <div class="short">Calculates the x, y to center this element on the screen</div>
1096
            <div class="long">
1097
                Calculates the x, y to center this element on the screen    <div class="mdetail-params">
1098
        <strong>Parameters:</strong>
1099
        <ul><li>None.</li>        </ul>
1100
        <strong>Returns:</strong>
1101
        <ul>
1102
            <li><code>Array</code><div class="sub-desc">The x, y values [x, y]</div></li>
1103
        </ul>
1104
    </div>
1105
                </div>
1106
                        </div>
1107
        </td>
1108
        <td class="msource">Element</td>
1109
    </tr>
1110
        <tr class="method-row expandable">
1111
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1112
        <td class="sig">
1113
        <a id="Ext.Element-getColor"></a>
1114
            <b>getColor</b>(&nbsp;<code>String attr</code>, <code>String defaultValue</code>, <span class="optional" title="Optional">[<code>String prefix</code>]</span>&nbsp;) : void            <div class="mdesc">
1115
                        <div class="short">Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
1116
are convert to standa...</div>
1117
            <div class="long">
1118
                Return the CSS color for the specified CSS attribute. rgb, 3 digit (like #fff) and valid values
1119
are convert to standard 6 digit hex color.    <div class="mdetail-params">
1120
        <strong>Parameters:</strong>
1121
        <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
1122
color anims.</div></li>        </ul>
1123
        <strong>Returns:</strong>
1124
        <ul>
1125
            <li><code>void</code></li>
1126
        </ul>
1127
    </div>
1128
                </div>
1129
                        </div>
1130
        </td>
1131
        <td class="msource">Element</td>
1132
    </tr>
1133
        <tr class="method-row alt expandable">
1134
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1135
        <td class="sig">
1136
        <a id="Ext.Element-getComputedHeight"></a>
1137
            <b>getComputedHeight</b>() : Number            <div class="mdesc">
1138
                        <div class="short">Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
1139
when...</div>
1140
            <div class="long">
1141
                Returns either the offsetHeight or the height of this element based on CSS height adjusted by padding or borders
1142
when needed to simulate offsetHeight when offsets aren't available. This may not work on display:none elements
1143
if a height has not been set using CSS.    <div class="mdetail-params">
1144
        <strong>Parameters:</strong>
1145
        <ul><li>None.</li>        </ul>
1146
        <strong>Returns:</strong>
1147
        <ul>
1148
            <li><code>Number</code></li>
1149
        </ul>
1150
    </div>
1151
                </div>
1152
                        </div>
1153
        </td>
1154
        <td class="msource">Element</td>
1155
    </tr>
1156
        <tr class="method-row expandable">
1157
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1158
        <td class="sig">
1159
        <a id="Ext.Element-getComputedWidth"></a>
1160
            <b>getComputedWidth</b>() : Number            <div class="mdesc">
1161
                        <div class="short">Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
1162
when ne...</div>
1163
            <div class="long">
1164
                Returns either the offsetWidth or the width of this element based on CSS width adjusted by padding or borders
1165
when needed to simulate offsetWidth when offsets aren't available. This may not work on display:none elements
1166
if a width has not been set using CSS.    <div class="mdetail-params">
1167
        <strong>Parameters:</strong>
1168
        <ul><li>None.</li>        </ul>
1169
        <strong>Returns:</strong>
1170
        <ul>
1171
            <li><code>Number</code></li>
1172
        </ul>
1173
    </div>
1174
                </div>
1175
                        </div>
1176
        </td>
1177
        <td class="msource">Element</td>
1178
    </tr>
1179
        <tr class="method-row alt expandable">
1180
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1181
        <td class="sig">
1182
        <a id="Ext.Element-getFrameWidth"></a>
1183
            <b>getFrameWidth</b>(&nbsp;<code>String sides</code>&nbsp;) : Number            <div class="mdesc">
1184
                        <div class="short">Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()
1185
     for more informati...</div>
1186
            <div class="long">
1187
                Returns the sum width of the padding and borders for the passed "sides". See getBorderWidth()
1188
     for more information about the sides.    <div class="mdetail-params">
1189
        <strong>Parameters:</strong>
1190
        <ul><li><code>sides</code> : String<div class="sub-desc"></div></li>        </ul>
1191
        <strong>Returns:</strong>
1192
        <ul>
1193
            <li><code>Number</code></li>
1194
        </ul>
1195
    </div>
1196
                </div>
1197
                        </div>
1198
        </td>
1199
        <td class="msource">Element</td>
1200
    </tr>
1201
        <tr class="method-row expandable">
1202
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1203
        <td class="sig">
1204
        <a id="Ext.Element-getHeight"></a>
1205
            <b>getHeight</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean contentHeight</code>]</span>&nbsp;) : Number            <div class="mdesc">
1206
                        <div class="short">Returns the offset height of the element</div>
1207
            <div class="long">
1208
                Returns the offset height of the element    <div class="mdetail-params">
1209
        <strong>Parameters:</strong>
1210
        <ul><li><code>contentHeight</code> : Boolean<div class="sub-desc">(optional) true to get the height minus borders and padding</div></li>        </ul>
1211
        <strong>Returns:</strong>
1212
        <ul>
1213
            <li><code>Number</code><div class="sub-desc">The element's height</div></li>
1214
        </ul>
1215
    </div>
1216
                </div>
1217
                        </div>
1218
        </td>
1219
        <td class="msource">Element</td>
1220
    </tr>
1221
        <tr class="method-row alt expandable">
1222
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1223
        <td class="sig">
1224
        <a id="Ext.Element-getLeft"></a>
1225
            <b>getLeft</b>(&nbsp;<code>Boolean local</code>&nbsp;) : Number            <div class="mdesc">
1226
                        <div class="short">Gets the left X coordinate</div>
1227
            <div class="long">
1228
                Gets the left X coordinate    <div class="mdetail-params">
1229
        <strong>Parameters:</strong>
1230
        <ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li>        </ul>
1231
        <strong>Returns:</strong>
1232
        <ul>
1233
            <li><code>Number</code></li>
1234
        </ul>
1235
    </div>
1236
                </div>
1237
                        </div>
1238
        </td>
1239
        <td class="msource">Element</td>
1240
    </tr>
1241
        <tr class="method-row expandable">
1242
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1243
        <td class="sig">
1244
        <a id="Ext.Element-getMargins"></a>
1245
            <b>getMargins</b>(&nbsp;<span class="optional" title="Optional">[<code>String sides</code>]</span>&nbsp;) : Object/Number            <div class="mdesc">
1246
                        <div class="short">Returns an object with properties top, left, right and bottom representing the margins of this element unless sides i...</div>
1247
            <div class="long">
1248
                Returns an object with properties top, left, right and bottom representing the margins of this element unless sides is passed,
1249
then it returns the calculated width of the sides (see getPadding)    <div class="mdetail-params">
1250
        <strong>Parameters:</strong>
1251
        <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>
1252
        <strong>Returns:</strong>
1253
        <ul>
1254
            <li><code>Object/Number</code></li>
1255
        </ul>
1256
    </div>
1257
                </div>
1258
                        </div>
1259
        </td>
1260
        <td class="msource">Element</td>
1261
    </tr>
1262
        <tr class="method-row alt expandable">
1263
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1264
        <td class="sig">
1265
        <a id="Ext.Element-getOffsetsTo"></a>
1266
            <b>getOffsetsTo</b>(&nbsp;<code>Mixed element</code>&nbsp;) : Array            <div class="mdesc">
1267
                        <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>
1268
            <div class="long">
1269
                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">
1270
        <strong>Parameters:</strong>
1271
        <ul><li><code>element</code> : Mixed<div class="sub-desc">The element to get the offsets from.</div></li>        </ul>
1272
        <strong>Returns:</strong>
1273
        <ul>
1274
            <li><code>Array</code><div class="sub-desc">The XY page offsets (e.g. [100, -200])</div></li>
1275
        </ul>
1276
    </div>
1277
                </div>
1278
                        </div>
1279
        </td>
1280
        <td class="msource">Element</td>
1281
    </tr>
1282
        <tr class="method-row expandable">
1283
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1284
        <td class="sig">
1285
        <a id="Ext.Element-getPadding"></a>
1286
            <b>getPadding</b>(&nbsp;<code>String side</code>&nbsp;) : Number            <div class="mdesc">
1287
                        <div class="short">Gets the width of the padding(s) for the specified side(s)</div>
1288
            <div class="long">
1289
                Gets the width of the padding(s) for the specified side(s)    <div class="mdetail-params">
1290
        <strong>Parameters:</strong>
1291
        <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,
1292
passing lr would get the padding (l)eft + the padding (r)ight.</div></li>        </ul>
1293
        <strong>Returns:</strong>
1294
        <ul>
1295
            <li><code>Number</code><div class="sub-desc">The padding of the sides passed added together</div></li>
1296
        </ul>
1297
    </div>
1298
                </div>
1299
                        </div>
1300
        </td>
1301
        <td class="msource">Element</td>
1302
    </tr>
1303
        <tr class="method-row alt expandable">
1304
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1305
        <td class="sig">
1306
        <a id="Ext.Element-getPositioning"></a>
1307
            <b>getPositioning</b>() : Object            <div class="mdesc">
1308
                        <div class="short">Gets an object with all CSS positioning properties. Useful along with setPostioning to get
1309
snapshot before performing...</div>
1310
            <div class="long">
1311
                Gets an object with all CSS positioning properties. Useful along with setPostioning to get
1312
snapshot before performing an update and then restoring the element.    <div class="mdetail-params">
1313
        <strong>Parameters:</strong>
1314
        <ul><li>None.</li>        </ul>
1315
        <strong>Returns:</strong>
1316
        <ul>
1317
            <li><code>Object</code></li>
1318
        </ul>
1319
    </div>
1320
                </div>
1321
                        </div>
1322
        </td>
1323
        <td class="msource">Element</td>
1324
    </tr>
1325
        <tr class="method-row expandable">
1326
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1327
        <td class="sig">
1328
        <a id="Ext.Element-getRegion"></a>
1329
            <b>getRegion</b>() : Region            <div class="mdesc">
1330
                        <div class="short">Returns the region of the given element.
1331
The element must be part of the DOM tree to have a region (display:none or e...</div>
1332
            <div class="long">
1333
                Returns the region of the given element.
1334
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">
1335
        <strong>Parameters:</strong>
1336
        <ul><li>None.</li>        </ul>
1337
        <strong>Returns:</strong>
1338
        <ul>
1339
            <li><code>Region</code><div class="sub-desc">A Ext.lib.Region containing "top, left, bottom, right" member data.</div></li>
1340
        </ul>
1341
    </div>
1342
                </div>
1343
                        </div>
1344
        </td>
1345
        <td class="msource">Element</td>
1346
    </tr>
1347
        <tr class="method-row alt expandable">
1348
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1349
        <td class="sig">
1350
        <a id="Ext.Element-getRight"></a>
1351
            <b>getRight</b>(&nbsp;<code>Boolean local</code>&nbsp;) : Number            <div class="mdesc">
1352
                        <div class="short">Gets the right X coordinate of the element (element X position + element width)</div>
1353
            <div class="long">
1354
                Gets the right X coordinate of the element (element X position + element width)    <div class="mdetail-params">
1355
        <strong>Parameters:</strong>
1356
        <ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li>        </ul>
1357
        <strong>Returns:</strong>
1358
        <ul>
1359
            <li><code>Number</code></li>
1360
        </ul>
1361
    </div>
1362
                </div>
1363
                        </div>
1364
        </td>
1365
        <td class="msource">Element</td>
1366
    </tr>
1367
        <tr class="method-row expandable">
1368
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1369
        <td class="sig">
1370
        <a id="Ext.Element-getScroll"></a>
1371
            <b>getScroll</b>() : Object            <div class="mdesc">
1372
                        <div class="short">Returns the current scroll position of the element.</div>
1373
            <div class="long">
1374
                Returns the current scroll position of the element.    <div class="mdetail-params">
1375
        <strong>Parameters:</strong>
1376
        <ul><li>None.</li>        </ul>
1377
        <strong>Returns:</strong>
1378
        <ul>
1379
            <li><code>Object</code><div class="sub-desc">An object containing the scroll position in the format {left: (scrollLeft), top: (scrollTop)}</div></li>
1380
        </ul>
1381
    </div>
1382
                </div>
1383
                        </div>
1384
        </td>
1385
        <td class="msource">Element</td>
1386
    </tr>
1387
        <tr class="method-row alt expandable">
1388
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1389
        <td class="sig">
1390
        <a id="Ext.Element-getSize"></a>
1391
            <b>getSize</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean contentSize</code>]</span>&nbsp;) : Object            <div class="mdesc">
1392
                        <div class="short">Returns the size of the element.</div>
1393
            <div class="long">
1394
                Returns the size of the element.    <div class="mdetail-params">
1395
        <strong>Parameters:</strong>
1396
        <ul><li><code>contentSize</code> : Boolean<div class="sub-desc">(optional) true to get the width/size minus borders and padding</div></li>        </ul>
1397
        <strong>Returns:</strong>
1398
        <ul>
1399
            <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>
1400
        </ul>
1401
    </div>
1402
                </div>
1403
                        </div>
1404
        </td>
1405
        <td class="msource">Element</td>
1406
    </tr>
1407
        <tr class="method-row expandable">
1408
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1409
        <td class="sig">
1410
        <a id="Ext.Element-getStyle"></a>
1411
            <b>getStyle</b>(&nbsp;<code>String property</code>&nbsp;) : String            <div class="mdesc">
1412
                        <div class="short">Normalizes currentStyle and computedStyle.</div>
1413
            <div class="long">
1414
                Normalizes currentStyle and computedStyle.    <div class="mdetail-params">
1415
        <strong>Parameters:</strong>
1416
        <ul><li><code>property</code> : String<div class="sub-desc">The style property whose value is returned.</div></li>        </ul>
1417
        <strong>Returns:</strong>
1418
        <ul>
1419
            <li><code>String</code><div class="sub-desc">The current value of the style property for this element.</div></li>
1420
        </ul>
1421
    </div>
1422
                </div>
1423
                        </div>
1424
        </td>
1425
        <td class="msource">Element</td>
1426
    </tr>
1427
        <tr class="method-row alt expandable">
1428
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1429
        <td class="sig">
1430
        <a id="Ext.Element-getStyles"></a>
1431
            <b>getStyles</b>(&nbsp;<code>String style1</code>, <code>String style2</code>, <code>String etc.</code>&nbsp;) : Object            <div class="mdesc">
1432
                        <div class="short">Returns an object with properties matching the styles requested.
1433
For example, el.getStyles('color', 'font-size', 'wid...</div>
1434
            <div class="long">
1435
                Returns an object with properties matching the styles requested.
1436
For example, el.getStyles('color', 'font-size', 'width') might return
1437
{'color': '#FFFFFF', 'font-size': '13px', 'width': '100px'}.    <div class="mdetail-params">
1438
        <strong>Parameters:</strong>
1439
        <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>
1440
        <strong>Returns:</strong>
1441
        <ul>
1442
            <li><code>Object</code><div class="sub-desc">The style object</div></li>
1443
        </ul>
1444
    </div>
1445
                </div>
1446
                        </div>
1447
        </td>
1448
        <td class="msource">Element</td>
1449
    </tr>
1450
        <tr class="method-row expandable">
1451
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1452
        <td class="sig">
1453
        <a id="Ext.Element-getTop"></a>
1454
            <b>getTop</b>(&nbsp;<code>Boolean local</code>&nbsp;) : Number            <div class="mdesc">
1455
                        <div class="short">Gets the top Y coordinate</div>
1456
            <div class="long">
1457
                Gets the top Y coordinate    <div class="mdetail-params">
1458
        <strong>Parameters:</strong>
1459
        <ul><li><code>local</code> : Boolean<div class="sub-desc">True to get the local css position instead of page coordinate</div></li>        </ul>
1460
        <strong>Returns:</strong>
1461
        <ul>
1462
            <li><code>Number</code></li>
1463
        </ul>
1464
    </div>
1465
                </div>
1466
                        </div>
1467
        </td>
1468
        <td class="msource">Element</td>
1469
    </tr>
1470
        <tr class="method-row alt expandable">
1471
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1472
        <td class="sig">
1473
        <a id="Ext.Element-getUpdater"></a>
1474
            <b>getUpdater</b>() : Ext.Updater            <div class="mdesc">
1475
                        <div class="short">Gets this element's Updater</div>
1476
            <div class="long">
1477
                Gets this element's Updater    <div class="mdetail-params">
1478
        <strong>Parameters:</strong>
1479
        <ul><li>None.</li>        </ul>
1480
        <strong>Returns:</strong>
1481
        <ul>
1482
            <li><code>Ext.Updater</code><div class="sub-desc">The Updater</div></li>
1483
        </ul>
1484
    </div>
1485
                </div>
1486
                        </div>
1487
        </td>
1488
        <td class="msource">Element</td>
1489
    </tr>
1490
        <tr class="method-row expandable">
1491
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1492
        <td class="sig">
1493
        <a id="Ext.Element-getValue"></a>
1494
            <b>getValue</b>(&nbsp;<code>Boolean asNumber</code>&nbsp;) : String/Number            <div class="mdesc">
1495
                        <div class="short">Returns the value of the "value" attribute</div>
1496
            <div class="long">
1497
                Returns the value of the "value" attribute    <div class="mdetail-params">
1498
        <strong>Parameters:</strong>
1499
        <ul><li><code>asNumber</code> : Boolean<div class="sub-desc">true to parse the value as a number</div></li>        </ul>
1500
        <strong>Returns:</strong>
1501
        <ul>
1502
            <li><code>String/Number</code></li>
1503
        </ul>
1504
    </div>
1505
                </div>
1506
                        </div>
1507
        </td>
1508
        <td class="msource">Element</td>
1509
    </tr>
1510
        <tr class="method-row alt expandable">
1511
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1512
        <td class="sig">
1513
        <a id="Ext.Element-getViewSize"></a>
1514
            <b>getViewSize</b>() : Object            <div class="mdesc">
1515
                        <div class="short">Returns the width and height of the viewport.</div>
1516
            <div class="long">
1517
                Returns the width and height of the viewport.    <div class="mdetail-params">
1518
        <strong>Parameters:</strong>
1519
        <ul><li>None.</li>        </ul>
1520
        <strong>Returns:</strong>
1521
        <ul>
1522
            <li><code>Object</code><div class="sub-desc">An object containing the viewport's size {width: (viewport width), height: (viewport height)}</div></li>
1523
        </ul>
1524
    </div>
1525
                </div>
1526
                        </div>
1527
        </td>
1528
        <td class="msource">Element</td>
1529
    </tr>
1530
        <tr class="method-row expandable">
1531
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1532
        <td class="sig">
1533
        <a id="Ext.Element-getWidth"></a>
1534
            <b>getWidth</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean contentWidth</code>]</span>&nbsp;) : Number            <div class="mdesc">
1535
                        <div class="short">Returns the offset width of the element</div>
1536
            <div class="long">
1537
                Returns the offset width of the element    <div class="mdetail-params">
1538
        <strong>Parameters:</strong>
1539
        <ul><li><code>contentWidth</code> : Boolean<div class="sub-desc">(optional) true to get the width minus borders and padding</div></li>        </ul>
1540
        <strong>Returns:</strong>
1541
        <ul>
1542
            <li><code>Number</code><div class="sub-desc">The element's width</div></li>
1543
        </ul>
1544
    </div>
1545
                </div>
1546
                        </div>
1547
        </td>
1548
        <td class="msource">Element</td>
1549
    </tr>
1550
        <tr class="method-row alt expandable">
1551
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1552
        <td class="sig">
1553
        <a id="Ext.Element-getX"></a>
1554
            <b>getX</b>() : Number            <div class="mdesc">
1555
                        <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>
1556
            <div class="long">
1557
                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">
1558
        <strong>Parameters:</strong>
1559
        <ul><li>None.</li>        </ul>
1560
        <strong>Returns:</strong>
1561
        <ul>
1562
            <li><code>Number</code><div class="sub-desc">The X position of the element</div></li>
1563
        </ul>
1564
    </div>
1565
                </div>
1566
                        </div>
1567
        </td>
1568
        <td class="msource">Element</td>
1569
    </tr>
1570
        <tr class="method-row expandable">
1571
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1572
        <td class="sig">
1573
        <a id="Ext.Element-getXY"></a>
1574
            <b>getXY</b>() : Array            <div class="mdesc">
1575
                        <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>
1576
            <div class="long">
1577
                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">
1578
        <strong>Parameters:</strong>
1579
        <ul><li>None.</li>        </ul>
1580
        <strong>Returns:</strong>
1581
        <ul>
1582
            <li><code>Array</code><div class="sub-desc">The XY position of the element</div></li>
1583
        </ul>
1584
    </div>
1585
                </div>
1586
                        </div>
1587
        </td>
1588
        <td class="msource">Element</td>
1589
    </tr>
1590
        <tr class="method-row alt expandable">
1591
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1592
        <td class="sig">
1593
        <a id="Ext.Element-getY"></a>
1594
            <b>getY</b>() : Number            <div class="mdesc">
1595
                        <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>
1596
            <div class="long">
1597
                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">
1598
        <strong>Parameters:</strong>
1599
        <ul><li>None.</li>        </ul>
1600
        <strong>Returns:</strong>
1601
        <ul>
1602
            <li><code>Number</code><div class="sub-desc">The Y position of the element</div></li>
1603
        </ul>
1604
    </div>
1605
                </div>
1606
                        </div>
1607
        </td>
1608
        <td class="msource">Element</td>
1609
    </tr>
1610
        <tr class="method-row expandable">
1611
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1612
        <td class="sig">
1613
        <a id="Ext.Element-hasClass"></a>
1614
            <b>hasClass</b>(&nbsp;<code>String className</code>&nbsp;) : Boolean            <div class="mdesc">
1615
                        <div class="short">Checks if the specified CSS class exists on this element's DOM node.</div>
1616
            <div class="long">
1617
                Checks if the specified CSS class exists on this element's DOM node.    <div class="mdetail-params">
1618
        <strong>Parameters:</strong>
1619
        <ul><li><code>className</code> : String<div class="sub-desc">The CSS class to check for</div></li>        </ul>
1620
        <strong>Returns:</strong>
1621
        <ul>
1622
            <li><code>Boolean</code><div class="sub-desc">True if the class exists, else false</div></li>
1623
        </ul>
1624
    </div>
1625
                </div>
1626
                        </div>
1627
        </td>
1628
        <td class="msource">Element</td>
1629
    </tr>
1630
        <tr class="method-row alt expandable">
1631
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1632
        <td class="sig">
1633
        <a id="Ext.Element-hide"></a>
1634
            <b>hide</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
1635
                        <div class="short">Hide this element - Uses display mode to determine whether to use "display" or "visibility". See <a ext:cls="Ext.Element" ext:member="setVisible" href="output/Ext.Element.html#setVisible">setVisible</a>.</div>
1636
            <div class="long">
1637
                Hide this element - Uses display mode to determine whether to use "display" or "visibility". See <a ext:cls="Ext.Element" ext:member="setVisible" href="output/Ext.Element.html#setVisible">setVisible</a>.    <div class="mdetail-params">
1638
        <strong>Parameters:</strong>
1639
        <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>
1640
        <strong>Returns:</strong>
1641
        <ul>
1642
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1643
        </ul>
1644
    </div>
1645
                </div>
1646
                        </div>
1647
        </td>
1648
        <td class="msource">Element</td>
1649
    </tr>
1650
        <tr class="method-row expandable">
1651
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1652
        <td class="sig">
1653
        <a id="Ext.Element-hover"></a>
1654
            <b>hover</b>(&nbsp;<code>Function overFn</code>, <code>Function outFn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
1655
                        <div class="short">Sets up event handlers to call the passed functions when the mouse is over this element. Automatically
1656
filters child ...</div>
1657
            <div class="long">
1658
                Sets up event handlers to call the passed functions when the mouse is over this element. Automatically
1659
filters child element mouse events.    <div class="mdetail-params">
1660
        <strong>Parameters:</strong>
1661
        <ul><li><code>overFn</code> : Function<div class="sub-desc"></div></li><li><code>outFn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>
1662
        <strong>Returns:</strong>
1663
        <ul>
1664
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1665
        </ul>
1666
    </div>
1667
                </div>
1668
                        </div>
1669
        </td>
1670
        <td class="msource">Element</td>
1671
    </tr>
1672
        <tr class="method-row alt expandable">
1673
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1674
        <td class="sig">
1675
        <a id="Ext.Element-initDD"></a>
1676
            <b>initDD</b>(&nbsp;<code>String group</code>, <code>Object config</code>, <code>Object overrides</code>&nbsp;) : Ext.dd.DD            <div class="mdesc">
1677
                        <div class="short">Initializes a <a ext:cls="Ext.dd.DD" href="output/Ext.dd.DD.html">Ext.dd.DD</a> drag drop object for this element.</div>
1678
            <div class="long">
1679
                Initializes a <a ext:cls="Ext.dd.DD" href="output/Ext.dd.DD.html">Ext.dd.DD</a> drag drop object for this element.    <div class="mdetail-params">
1680
        <strong>Parameters:</strong>
1681
        <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>
1682
        <strong>Returns:</strong>
1683
        <ul>
1684
            <li><code>Ext.dd.DD</code><div class="sub-desc">The DD object</div></li>
1685
        </ul>
1686
    </div>
1687
                </div>
1688
                        </div>
1689
        </td>
1690
        <td class="msource">Element</td>
1691
    </tr>
1692
        <tr class="method-row expandable">
1693
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1694
        <td class="sig">
1695
        <a id="Ext.Element-initDDProxy"></a>
1696
            <b>initDDProxy</b>(&nbsp;<code>String group</code>, <code>Object config</code>, <code>Object overrides</code>&nbsp;) : Ext.dd.DDProxy            <div class="mdesc">
1697
                        <div class="short">Initializes a <a ext:cls="Ext.dd.DDProxy" href="output/Ext.dd.DDProxy.html">Ext.dd.DDProxy</a> object for this element.</div>
1698
            <div class="long">
1699
                Initializes a <a ext:cls="Ext.dd.DDProxy" href="output/Ext.dd.DDProxy.html">Ext.dd.DDProxy</a> object for this element.    <div class="mdetail-params">
1700
        <strong>Parameters:</strong>
1701
        <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>
1702
        <strong>Returns:</strong>
1703
        <ul>
1704
            <li><code>Ext.dd.DDProxy</code><div class="sub-desc">The DDProxy object</div></li>
1705
        </ul>
1706
    </div>
1707
                </div>
1708
                        </div>
1709
        </td>
1710
        <td class="msource">Element</td>
1711
    </tr>
1712
        <tr class="method-row alt expandable">
1713
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1714
        <td class="sig">
1715
        <a id="Ext.Element-initDDTarget"></a>
1716
            <b>initDDTarget</b>(&nbsp;<code>String group</code>, <code>Object config</code>, <code>Object overrides</code>&nbsp;) : Ext.dd.DDTarget            <div class="mdesc">
1717
                        <div class="short">Initializes a <a ext:cls="Ext.dd.DDTarget" href="output/Ext.dd.DDTarget.html">Ext.dd.DDTarget</a> object for this element.</div>
1718
            <div class="long">
1719
                Initializes a <a ext:cls="Ext.dd.DDTarget" href="output/Ext.dd.DDTarget.html">Ext.dd.DDTarget</a> object for this element.    <div class="mdetail-params">
1720
        <strong>Parameters:</strong>
1721
        <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>
1722
        <strong>Returns:</strong>
1723
        <ul>
1724
            <li><code>Ext.dd.DDTarget</code><div class="sub-desc">The DDTarget object</div></li>
1725
        </ul>
1726
    </div>
1727
                </div>
1728
                        </div>
1729
        </td>
1730
        <td class="msource">Element</td>
1731
    </tr>
1732
        <tr class="method-row expandable">
1733
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1734
        <td class="sig">
1735
        <a id="Ext.Element-insertAfter"></a>
1736
            <b>insertAfter</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Ext.Element            <div class="mdesc">
1737
                        <div class="short">Inserts this element after the passed element in the DOM</div>
1738
            <div class="long">
1739
                Inserts this element after the passed element in the DOM    <div class="mdetail-params">
1740
        <strong>Parameters:</strong>
1741
        <ul><li><code>el</code> : Mixed<div class="sub-desc">The element to insert after</div></li>        </ul>
1742
        <strong>Returns:</strong>
1743
        <ul>
1744
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1745
        </ul>
1746
    </div>
1747
                </div>
1748
                        </div>
1749
        </td>
1750
        <td class="msource">Element</td>
1751
    </tr>
1752
        <tr class="method-row alt expandable">
1753
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1754
        <td class="sig">
1755
        <a id="Ext.Element-insertBefore"></a>
1756
            <b>insertBefore</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Ext.Element            <div class="mdesc">
1757
                        <div class="short">Inserts this element before the passed element in the DOM</div>
1758
            <div class="long">
1759
                Inserts this element before the passed element in the DOM    <div class="mdetail-params">
1760
        <strong>Parameters:</strong>
1761
        <ul><li><code>el</code> : Mixed<div class="sub-desc">The element before which this element will be inserted</div></li>        </ul>
1762
        <strong>Returns:</strong>
1763
        <ul>
1764
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1765
        </ul>
1766
    </div>
1767
                </div>
1768
                        </div>
1769
        </td>
1770
        <td class="msource">Element</td>
1771
    </tr>
1772
        <tr class="method-row expandable">
1773
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1774
        <td class="sig">
1775
        <a id="Ext.Element-insertFirst"></a>
1776
            <b>insertFirst</b>(&nbsp;<code>Mixed/Object el</code>&nbsp;) : Ext.Element            <div class="mdesc">
1777
                        <div class="short">Inserts (or creates) an element (or DomHelper config) as the first child of this element</div>
1778
            <div class="long">
1779
                Inserts (or creates) an element (or DomHelper config) as the first child of this element    <div class="mdetail-params">
1780
        <strong>Parameters:</strong>
1781
        <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>
1782
        <strong>Returns:</strong>
1783
        <ul>
1784
            <li><code>Ext.Element</code><div class="sub-desc">The new child</div></li>
1785
        </ul>
1786
    </div>
1787
                </div>
1788
                        </div>
1789
        </td>
1790
        <td class="msource">Element</td>
1791
    </tr>
1792
        <tr class="method-row alt expandable">
1793
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1794
        <td class="sig">
1795
        <a id="Ext.Element-insertHtml"></a>
1796
            <b>insertHtml</b>(&nbsp;<code>String where</code>, <code>String html</code>, <span class="optional" title="Optional">[<code>Boolean returnEl</code>]</span>&nbsp;) : HTMLElement/Ext.Element            <div class="mdesc">
1797
                        <div class="short">Inserts an html fragment into this element</div>
1798
            <div class="long">
1799
                Inserts an html fragment into this element    <div class="mdetail-params">
1800
        <strong>Parameters:</strong>
1801
        <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>
1802
        <strong>Returns:</strong>
1803
        <ul>
1804
            <li><code>HTMLElement/Ext.Element</code><div class="sub-desc">The inserted node (or nearest related if more than 1 inserted)</div></li>
1805
        </ul>
1806
    </div>
1807
                </div>
1808
                        </div>
1809
        </td>
1810
        <td class="msource">Element</td>
1811
    </tr>
1812
        <tr class="method-row expandable">
1813
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1814
        <td class="sig">
1815
        <a id="Ext.Element-insertSibling"></a>
1816
            <b>insertSibling</b>(&nbsp;<code>Mixed/Object/Array el</code>, <span class="optional" title="Optional">[<code>String where</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
1817
                        <div class="short">Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element</div>
1818
            <div class="long">
1819
                Inserts (or creates) the passed element (or DomHelper config) as a sibling of this element    <div class="mdetail-params">
1820
        <strong>Parameters:</strong>
1821
        <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>
1822
        <strong>Returns:</strong>
1823
        <ul>
1824
            <li><code>Ext.Element</code><div class="sub-desc">the inserted Element</div></li>
1825
        </ul>
1826
    </div>
1827
                </div>
1828
                        </div>
1829
        </td>
1830
        <td class="msource">Element</td>
1831
    </tr>
1832
        <tr class="method-row alt expandable">
1833
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1834
        <td class="sig">
1835
        <a id="Ext.Element-is"></a>
1836
            <b>is</b>(&nbsp;<code>String selector</code>&nbsp;) : Boolean            <div class="mdesc">
1837
                        <div class="short">Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)</div>
1838
            <div class="long">
1839
                Returns true if this element matches the passed simple selector (e.g. div.some-class or span:first-child)    <div class="mdetail-params">
1840
        <strong>Parameters:</strong>
1841
        <ul><li><code>selector</code> : String<div class="sub-desc">The simple selector to test</div></li>        </ul>
1842
        <strong>Returns:</strong>
1843
        <ul>
1844
            <li><code>Boolean</code><div class="sub-desc">True if this element matches the selector, else false</div></li>
1845
        </ul>
1846
    </div>
1847
                </div>
1848
                        </div>
1849
        </td>
1850
        <td class="msource">Element</td>
1851
    </tr>
1852
        <tr class="method-row expandable">
1853
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1854
        <td class="sig">
1855
        <a id="Ext.Element-isBorderBox"></a>
1856
            <b>isBorderBox</b>() : Boolean            <div class="mdesc">
1857
                        <div class="short">Tests various css rules/browsers to determine if this element uses a border box</div>
1858
            <div class="long">
1859
                Tests various css rules/browsers to determine if this element uses a border box    <div class="mdetail-params">
1860
        <strong>Parameters:</strong>
1861
        <ul><li>None.</li>        </ul>
1862
        <strong>Returns:</strong>
1863
        <ul>
1864
            <li><code>Boolean</code></li>
1865
        </ul>
1866
    </div>
1867
                </div>
1868
                        </div>
1869
        </td>
1870
        <td class="msource">Element</td>
1871
    </tr>
1872
        <tr class="method-row alt expandable">
1873
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1874
        <td class="sig">
1875
        <a id="Ext.Element-isDisplayed"></a>
1876
            <b>isDisplayed</b>() : Boolean            <div class="mdesc">
1877
                        <div class="short">Returns true if display is not "none"</div>
1878
            <div class="long">
1879
                Returns true if display is not "none"    <div class="mdetail-params">
1880
        <strong>Parameters:</strong>
1881
        <ul><li>None.</li>        </ul>
1882
        <strong>Returns:</strong>
1883
        <ul>
1884
            <li><code>Boolean</code></li>
1885
        </ul>
1886
    </div>
1887
                </div>
1888
                        </div>
1889
        </td>
1890
        <td class="msource">Element</td>
1891
    </tr>
1892
        <tr class="method-row expandable">
1893
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1894
        <td class="sig">
1895
        <a id="Ext.Element-isMasked"></a>
1896
            <b>isMasked</b>() : Boolean            <div class="mdesc">
1897
                        <div class="short">Returns true if this element is masked</div>
1898
            <div class="long">
1899
                Returns true if this element is masked    <div class="mdetail-params">
1900
        <strong>Parameters:</strong>
1901
        <ul><li>None.</li>        </ul>
1902
        <strong>Returns:</strong>
1903
        <ul>
1904
            <li><code>Boolean</code></li>
1905
        </ul>
1906
    </div>
1907
                </div>
1908
                        </div>
1909
        </td>
1910
        <td class="msource">Element</td>
1911
    </tr>
1912
        <tr class="method-row alt expandable">
1913
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1914
        <td class="sig">
1915
        <a id="Ext.Element-isScrollable"></a>
1916
            <b>isScrollable</b>() : Boolean            <div class="mdesc">
1917
                        <div class="short">Returns true if this element is scrollable.</div>
1918
            <div class="long">
1919
                Returns true if this element is scrollable.    <div class="mdetail-params">
1920
        <strong>Parameters:</strong>
1921
        <ul><li>None.</li>        </ul>
1922
        <strong>Returns:</strong>
1923
        <ul>
1924
            <li><code>Boolean</code></li>
1925
        </ul>
1926
    </div>
1927
                </div>
1928
                        </div>
1929
        </td>
1930
        <td class="msource">Element</td>
1931
    </tr>
1932
        <tr class="method-row expandable">
1933
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1934
        <td class="sig">
1935
        <a id="Ext.Element-isVisible"></a>
1936
            <b>isVisible</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean deep</code>]</span>&nbsp;) : Boolean            <div class="mdesc">
1937
                        <div class="short">Checks whether the element is currently visible using both visibility and display properties.</div>
1938
            <div class="long">
1939
                Checks whether the element is currently visible using both visibility and display properties.    <div class="mdetail-params">
1940
        <strong>Parameters:</strong>
1941
        <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>
1942
        <strong>Returns:</strong>
1943
        <ul>
1944
            <li><code>Boolean</code><div class="sub-desc">True if the element is currently visible, else false</div></li>
1945
        </ul>
1946
    </div>
1947
                </div>
1948
                        </div>
1949
        </td>
1950
        <td class="msource">Element</td>
1951
    </tr>
1952
        <tr class="method-row alt expandable">
1953
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1954
        <td class="sig">
1955
        <a id="Ext.Element-last"></a>
1956
            <b>last</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
1957
                        <div class="short">Gets the last child, skipping text nodes</div>
1958
            <div class="long">
1959
                Gets the last child, skipping text nodes    <div class="mdetail-params">
1960
        <strong>Parameters:</strong>
1961
        <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>
1962
        <strong>Returns:</strong>
1963
        <ul>
1964
            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The last child or null</div></li>
1965
        </ul>
1966
    </div>
1967
                </div>
1968
                        </div>
1969
        </td>
1970
        <td class="msource">Element</td>
1971
    </tr>
1972
        <tr class="method-row expandable">
1973
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1974
        <td class="sig">
1975
        <a id="Ext.Element-load"></a>
1976
            <b>load</b>(&nbsp;<code>String/Function url</code>, <span class="optional" title="Optional">[<code>String/Object params</code>]</span>, <span class="optional" title="Optional">[<code>Function callback</code>]</span>, <span class="optional" title="Optional">[<code>Boolean discardUrl</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
1977
                        <div class="short">Direct access to the Updater <a ext:cls="Ext.Updater" ext:member="update" href="output/Ext.Updater.html#update">Ext.Updater.update</a> method (takes the same parameters).</div>
1978
            <div class="long">
1979
                Direct access to the Updater <a ext:cls="Ext.Updater" ext:member="update" href="output/Ext.Updater.html#update">Ext.Updater.update</a> method (takes the same parameters).    <div class="mdetail-params">
1980
        <strong>Parameters:</strong>
1981
        <ul><li><code>url</code> : String/Function<div class="sub-desc">The url for this request or a function to call to get the url</div></li><li><code>params</code> : String/Object<div class="sub-desc">(optional) The parameters to pass as either a url encoded string "param1=1&amp;param2=2" or an object {param1: 1, param2: 2}</div></li><li><code>callback</code> : Function<div class="sub-desc">(optional) Callback when transaction is complete - called with signature (oElement, bSuccess)</div></li><li><code>discardUrl</code> : Boolean<div class="sub-desc">(optional) By default when you execute an update the defaultUrl is changed to the last used url. If true, it will not store the url.</div></li>        </ul>
1982
        <strong>Returns:</strong>
1983
        <ul>
1984
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
1985
        </ul>
1986
    </div>
1987
                </div>
1988
                        </div>
1989
        </td>
1990
        <td class="msource">Element</td>
1991
    </tr>
1992
        <tr class="method-row alt expandable">
1993
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
1994
        <td class="sig">
1995
        <a id="Ext.Element-mask"></a>
1996
            <b>mask</b>(&nbsp;<span class="optional" title="Optional">[<code>String msg</code>]</span>, <span class="optional" title="Optional">[<code>String msgCls</code>]</span>&nbsp;) : Element            <div class="mdesc">
1997
                        <div class="short">Puts a mask over this element to disable user interaction. Requires core.css.
1998
This method can only be applied to elem...</div>
1999
            <div class="long">
2000
                Puts a mask over this element to disable user interaction. Requires core.css.
2001
This method can only be applied to elements which accept child nodes.    <div class="mdetail-params">
2002
        <strong>Parameters:</strong>
2003
        <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>
2004
        <strong>Returns:</strong>
2005
        <ul>
2006
            <li><code>Element</code><div class="sub-desc">The mask element</div></li>
2007
        </ul>
2008
    </div>
2009
                </div>
2010
                        </div>
2011
        </td>
2012
        <td class="msource">Element</td>
2013
    </tr>
2014
        <tr class="method-row expandable">
2015
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2016
        <td class="sig">
2017
        <a id="Ext.Element-move"></a>
2018
            <b>move</b>(&nbsp;<code>String direction</code>, <code>Number distance</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2019
                        <div class="short">Move this element relative to its current position.</div>
2020
            <div class="long">
2021
                Move this element relative to its current position.    <div class="mdetail-params">
2022
        <strong>Parameters:</strong>
2023
        <ul><li><code>direction</code> : String<div class="sub-desc">Possible values are: "l","left" - "r","right" - "t","top","up" - "b","bottom","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>
2024
        <strong>Returns:</strong>
2025
        <ul>
2026
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2027
        </ul>
2028
    </div>
2029
                </div>
2030
                        </div>
2031
        </td>
2032
        <td class="msource">Element</td>
2033
    </tr>
2034
        <tr class="method-row alt expandable">
2035
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2036
        <td class="sig">
2037
        <a id="Ext.Element-moveTo"></a>
2038
            <b>moveTo</b>(&nbsp;<code>Number x</code>, <code>Number y</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2039
                        <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
2040
The element must b...</div>
2041
            <div class="long">
2042
                Sets the position of the element in page coordinates, regardless of how the element is positioned.
2043
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">
2044
        <strong>Parameters:</strong>
2045
        <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>
2046
        <strong>Returns:</strong>
2047
        <ul>
2048
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2049
        </ul>
2050
    </div>
2051
                </div>
2052
                        </div>
2053
        </td>
2054
        <td class="msource">Element</td>
2055
    </tr>
2056
        <tr class="method-row expandable">
2057
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2058
        <td class="sig">
2059
        <a id="Ext.Element-next"></a>
2060
            <b>next</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
2061
                        <div class="short">Gets the next sibling, skipping text nodes</div>
2062
            <div class="long">
2063
                Gets the next sibling, skipping text nodes    <div class="mdetail-params">
2064
        <strong>Parameters:</strong>
2065
        <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>
2066
        <strong>Returns:</strong>
2067
        <ul>
2068
            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The next sibling or null</div></li>
2069
        </ul>
2070
    </div>
2071
                </div>
2072
                        </div>
2073
        </td>
2074
        <td class="msource">Element</td>
2075
    </tr>
2076
        <tr class="method-row alt expandable">
2077
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2078
        <td class="sig">
2079
        <a id="Ext.Element-on"></a>
2080
            <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void            <div class="mdesc">
2081
                        <div class="short">Appends an event handler (shorthand for <a ext:cls="Ext.Element" ext:member="addListener" href="output/Ext.Element.html#addListener">addListener</a>).</div>
2082
            <div class="long">
2083
                Appends an event handler (shorthand for <a ext:cls="Ext.Element" ext:member="addListener" href="output/Ext.Element.html#addListener">addListener</a>).    <div class="mdetail-params">
2084
        <strong>Parameters:</strong>
2085
        <ul><li><code>eventName</code> : String<div class="sub-desc">The type 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 (this element) of the handler function</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing standard <a ext:cls="Ext.Element" ext:member="addListener" href="output/Ext.Element.html#addListener">addListener</a> options</div></li>        </ul>
2086
        <strong>Returns:</strong>
2087
        <ul>
2088
            <li><code>void</code></li>
2089
        </ul>
2090
    </div>
2091
                </div>
2092
                        </div>
2093
        </td>
2094
        <td class="msource">Element</td>
2095
    </tr>
2096
        <tr class="method-row expandable">
2097
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2098
        <td class="sig">
2099
        <a id="Ext.Element-parent"></a>
2100
            <b>parent</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
2101
                        <div class="short">Gets the parent node for this element, optionally chaining up trying to match a selector</div>
2102
            <div class="long">
2103
                Gets the parent node for this element, optionally chaining up trying to match a selector    <div class="mdetail-params">
2104
        <strong>Parameters:</strong>
2105
        <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>
2106
        <strong>Returns:</strong>
2107
        <ul>
2108
            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The parent node or null</div></li>
2109
        </ul>
2110
    </div>
2111
                </div>
2112
                        </div>
2113
        </td>
2114
        <td class="msource">Element</td>
2115
    </tr>
2116
        <tr class="method-row alt expandable">
2117
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2118
        <td class="sig">
2119
        <a id="Ext.Element-position"></a>
2120
            <b>position</b>(&nbsp;<span class="optional" title="Optional">[<code>String pos</code>]</span>, <span class="optional" title="Optional">[<code>Number zIndex</code>]</span>, <span class="optional" title="Optional">[<code>Number x</code>]</span>, <span class="optional" title="Optional">[<code>Number y</code>]</span>&nbsp;) : void            <div class="mdesc">
2121
                        <div class="short">Initializes positioning on this element. If a desired position is not passed, it will make the
2122
the element positioned...</div>
2123
            <div class="long">
2124
                Initializes positioning on this element. If a desired position is not passed, it will make the
2125
the element positioned relative IF it is not already positioned.    <div class="mdetail-params">
2126
        <strong>Parameters:</strong>
2127
        <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>
2128
        <strong>Returns:</strong>
2129
        <ul>
2130
            <li><code>void</code></li>
2131
        </ul>
2132
    </div>
2133
                </div>
2134
                        </div>
2135
        </td>
2136
        <td class="msource">Element</td>
2137
    </tr>
2138
        <tr class="method-row expandable">
2139
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2140
        <td class="sig">
2141
        <a id="Ext.Element-prev"></a>
2142
            <b>prev</b>(&nbsp;<span class="optional" title="Optional">[<code>String selector</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : Ext.Element/HTMLElement            <div class="mdesc">
2143
                        <div class="short">Gets the previous sibling, skipping text nodes</div>
2144
            <div class="long">
2145
                Gets the previous sibling, skipping text nodes    <div class="mdetail-params">
2146
        <strong>Parameters:</strong>
2147
        <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>
2148
        <strong>Returns:</strong>
2149
        <ul>
2150
            <li><code>Ext.Element/HTMLElement</code><div class="sub-desc">The previous sibling or null</div></li>
2151
        </ul>
2152
    </div>
2153
                </div>
2154
                        </div>
2155
        </td>
2156
        <td class="msource">Element</td>
2157
    </tr>
2158
        <tr class="method-row alt expandable">
2159
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2160
        <td class="sig">
2161
        <a id="Ext.Element-query"></a>
2162
            <b>query</b>(&nbsp;<code>String selector</code>&nbsp;) : Array            <div class="mdesc">
2163
                        <div class="short">Selects child nodes based on the passed CSS selector (the selector should not contain an id).</div>
2164
            <div class="long">
2165
                Selects child nodes based on the passed CSS selector (the selector should not contain an id).    <div class="mdetail-params">
2166
        <strong>Parameters:</strong>
2167
        <ul><li><code>selector</code> : String<div class="sub-desc">The CSS selector</div></li>        </ul>
2168
        <strong>Returns:</strong>
2169
        <ul>
2170
            <li><code>Array</code><div class="sub-desc">An array of the matched nodes</div></li>
2171
        </ul>
2172
    </div>
2173
                </div>
2174
                        </div>
2175
        </td>
2176
        <td class="msource">Element</td>
2177
    </tr>
2178
        <tr class="method-row expandable">
2179
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2180
        <td class="sig">
2181
        <a id="Ext.Element-radioClass"></a>
2182
            <b>radioClass</b>(&nbsp;<code>String/Array className</code>&nbsp;) : Ext.Element            <div class="mdesc">
2183
                        <div class="short">Adds one or more CSS classes to this element and removes the same class(es) from all siblings.</div>
2184
            <div class="long">
2185
                Adds one or more CSS classes to this element and removes the same class(es) from all siblings.    <div class="mdetail-params">
2186
        <strong>Parameters:</strong>
2187
        <ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to add, or an array of classes</div></li>        </ul>
2188
        <strong>Returns:</strong>
2189
        <ul>
2190
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2191
        </ul>
2192
    </div>
2193
                </div>
2194
                        </div>
2195
        </td>
2196
        <td class="msource">Element</td>
2197
    </tr>
2198
        <tr class="method-row alt expandable">
2199
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2200
        <td class="sig">
2201
        <a id="Ext.Element-relayEvent"></a>
2202
            <b>relayEvent</b>(&nbsp;<code>String eventName</code>, <code>Object object</code>&nbsp;) : void            <div class="mdesc">
2203
                        <div class="short">Create an event handler on this element such that when the event fires and is handled by this element,
2204
it will be rel...</div>
2205
            <div class="long">
2206
                Create an event handler on this element such that when the event fires and is handled by this element,
2207
it will be relayed to another object (i.e., fired again as if it originated from that object instead).    <div class="mdetail-params">
2208
        <strong>Parameters:</strong>
2209
        <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 ext:cls="Ext.util.Observable" href="output/Ext.util.Observable.html">Ext.util.Observable</a> that will provide the context
2210
for firing the relayed event</div></li>        </ul>
2211
        <strong>Returns:</strong>
2212
        <ul>
2213
            <li><code>void</code></li>
2214
        </ul>
2215
    </div>
2216
                </div>
2217
                        </div>
2218
        </td>
2219
        <td class="msource">Element</td>
2220
    </tr>
2221
        <tr class="method-row expandable">
2222
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2223
        <td class="sig">
2224
        <a id="Ext.Element-remove"></a>
2225
            <b>remove</b>() : void            <div class="mdesc">
2226
                        <div class="short">Removes this element from the DOM and deletes it from the cache</div>
2227
            <div class="long">
2228
                Removes this element from the DOM and deletes it from the cache    <div class="mdetail-params">
2229
        <strong>Parameters:</strong>
2230
        <ul><li>None.</li>        </ul>
2231
        <strong>Returns:</strong>
2232
        <ul>
2233
            <li><code>void</code></li>
2234
        </ul>
2235
    </div>
2236
                </div>
2237
                        </div>
2238
        </td>
2239
        <td class="msource">Element</td>
2240
    </tr>
2241
        <tr class="method-row alt expandable">
2242
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2243
        <td class="sig">
2244
        <a id="Ext.Element-removeAllListeners"></a>
2245
            <b>removeAllListeners</b>() : Ext.Element            <div class="mdesc">
2246
                        <div class="short">Removes all previous added listeners from this element</div>
2247
            <div class="long">
2248
                Removes all previous added listeners from this element    <div class="mdetail-params">
2249
        <strong>Parameters:</strong>
2250
        <ul><li>None.</li>        </ul>
2251
        <strong>Returns:</strong>
2252
        <ul>
2253
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2254
        </ul>
2255
    </div>
2256
                </div>
2257
                        </div>
2258
        </td>
2259
        <td class="msource">Element</td>
2260
    </tr>
2261
        <tr class="method-row expandable">
2262
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2263
        <td class="sig">
2264
        <a id="Ext.Element-removeClass"></a>
2265
            <b>removeClass</b>(&nbsp;<code>String/Array className</code>&nbsp;) : Ext.Element            <div class="mdesc">
2266
                        <div class="short">Removes one or more CSS classes from the element.</div>
2267
            <div class="long">
2268
                Removes one or more CSS classes from the element.    <div class="mdetail-params">
2269
        <strong>Parameters:</strong>
2270
        <ul><li><code>className</code> : String/Array<div class="sub-desc">The CSS class to remove, or an array of classes</div></li>        </ul>
2271
        <strong>Returns:</strong>
2272
        <ul>
2273
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2274
        </ul>
2275
    </div>
2276
                </div>
2277
                        </div>
2278
        </td>
2279
        <td class="msource">Element</td>
2280
    </tr>
2281
        <tr class="method-row alt expandable">
2282
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2283
        <td class="sig">
2284
        <a id="Ext.Element-removeListener"></a>
2285
            <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function fn</code>&nbsp;) : Ext.Element            <div class="mdesc">
2286
                        <div class="short">Removes an event handler from this element.  The shorthand version un is equivalent.  Example:
2287
el.removeListener('cli...</div>
2288
            <div class="long">
2289
                Removes an event handler from this element.  The shorthand version <a ext:cls="Ext.Element" ext:member="un" href="output/Ext.Element.html#un">un</a> is equivalent.  Example:
2290
<pre><code>el.removeListener(<em>'click'</em>, <b>this</b>.handlerFn);
2291
<i>// or</i>
2292
el.un(<em>'click'</em>, <b>this</b>.handlerFn);</code></pre>    <div class="mdetail-params">
2293
        <strong>Parameters:</strong>
2294
        <ul><li><code>eventName</code> : String<div class="sub-desc">the type of event to remove</div></li><li><code>fn</code> : Function<div class="sub-desc">the method the event invokes</div></li>        </ul>
2295
        <strong>Returns:</strong>
2296
        <ul>
2297
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2298
        </ul>
2299
    </div>
2300
                </div>
2301
                        </div>
2302
        </td>
2303
        <td class="msource">Element</td>
2304
    </tr>
2305
        <tr class="method-row expandable">
2306
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2307
        <td class="sig">
2308
        <a id="Ext.Element-repaint"></a>
2309
            <b>repaint</b>() : Ext.Element            <div class="mdesc">
2310
                        <div class="short">Forces the browser to repaint this element</div>
2311
            <div class="long">
2312
                Forces the browser to repaint this element    <div class="mdetail-params">
2313
        <strong>Parameters:</strong>
2314
        <ul><li>None.</li>        </ul>
2315
        <strong>Returns:</strong>
2316
        <ul>
2317
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2318
        </ul>
2319
    </div>
2320
                </div>
2321
                        </div>
2322
        </td>
2323
        <td class="msource">Element</td>
2324
    </tr>
2325
        <tr class="method-row alt expandable">
2326
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2327
        <td class="sig">
2328
        <a id="Ext.Element-replace"></a>
2329
            <b>replace</b>(&nbsp;<code>Mixed el</code>&nbsp;) : Ext.Element            <div class="mdesc">
2330
                        <div class="short">Replaces the passed element with this element</div>
2331
            <div class="long">
2332
                Replaces the passed element with this element    <div class="mdetail-params">
2333
        <strong>Parameters:</strong>
2334
        <ul><li><code>el</code> : Mixed<div class="sub-desc">The element to replace</div></li>        </ul>
2335
        <strong>Returns:</strong>
2336
        <ul>
2337
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2338
        </ul>
2339
    </div>
2340
                </div>
2341
                        </div>
2342
        </td>
2343
        <td class="msource">Element</td>
2344
    </tr>
2345
        <tr class="method-row expandable">
2346
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2347
        <td class="sig">
2348
        <a id="Ext.Element-replaceClass"></a>
2349
            <b>replaceClass</b>(&nbsp;<code>String oldClassName</code>, <code>String newClassName</code>&nbsp;) : Ext.Element            <div class="mdesc">
2350
                        <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>
2351
            <div class="long">
2352
                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">
2353
        <strong>Parameters:</strong>
2354
        <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>
2355
        <strong>Returns:</strong>
2356
        <ul>
2357
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2358
        </ul>
2359
    </div>
2360
                </div>
2361
                        </div>
2362
        </td>
2363
        <td class="msource">Element</td>
2364
    </tr>
2365
        <tr class="method-row alt expandable">
2366
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2367
        <td class="sig">
2368
        <a id="Ext.Element-replaceWith"></a>
2369
            <b>replaceWith</b>(&nbsp;<code>Mixed/Object el</code>&nbsp;) : Ext.Element            <div class="mdesc">
2370
                        <div class="short">Replaces this element with the passed element</div>
2371
            <div class="long">
2372
                Replaces this element with the passed element    <div class="mdetail-params">
2373
        <strong>Parameters:</strong>
2374
        <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>
2375
        <strong>Returns:</strong>
2376
        <ul>
2377
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2378
        </ul>
2379
    </div>
2380
                </div>
2381
                        </div>
2382
        </td>
2383
        <td class="msource">Element</td>
2384
    </tr>
2385
        <tr class="method-row expandable">
2386
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2387
        <td class="sig">
2388
        <a id="Ext.Element-scroll"></a>
2389
            <b>scroll</b>(&nbsp;<code>String direction</code>, <code>Number distance</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Boolean            <div class="mdesc">
2390
                        <div class="short">Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
2391
within this element's s...</div>
2392
            <div class="long">
2393
                Scrolls this element the specified direction. Does bounds checking to make sure the scroll is
2394
within this element's scrollable range.    <div class="mdetail-params">
2395
        <strong>Parameters:</strong>
2396
        <ul><li><code>direction</code> : String<div class="sub-desc">Possible values are: "l","left" - "r","right" - "t","top","up" - "b","bottom","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>
2397
        <strong>Returns:</strong>
2398
        <ul>
2399
            <li><code>Boolean</code><div class="sub-desc">Returns true if a scroll was triggered or false if the element was scrolled as far as it could go.</div></li>
2400
        </ul>
2401
    </div>
2402
                </div>
2403
                        </div>
2404
        </td>
2405
        <td class="msource">Element</td>
2406
    </tr>
2407
        <tr class="method-row alt expandable">
2408
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2409
        <td class="sig">
2410
        <a id="Ext.Element-scrollIntoView"></a>
2411
            <b>scrollIntoView</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed container</code>]</span>, <span class="optional" title="Optional">[<code>Boolean hscroll</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2412
                        <div class="short">Scrolls this element into view within the passed container.</div>
2413
            <div class="long">
2414
                Scrolls this element into view within the passed container.    <div class="mdetail-params">
2415
        <strong>Parameters:</strong>
2416
        <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The container element to scroll (defaults to document.body)</div></li><li><code>hscroll</code> : Boolean<div class="sub-desc">(optional) False to disable horizontal scroll (defaults to true)</div></li>        </ul>
2417
        <strong>Returns:</strong>
2418
        <ul>
2419
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2420
        </ul>
2421
    </div>
2422
                </div>
2423
                        </div>
2424
        </td>
2425
        <td class="msource">Element</td>
2426
    </tr>
2427
        <tr class="method-row expandable">
2428
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2429
        <td class="sig">
2430
        <a id="Ext.Element-scrollTo"></a>
2431
            <b>scrollTo</b>(&nbsp;<code>String side</code>, <code>Number value</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Element            <div class="mdesc">
2432
                        <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>
2433
            <div class="long">
2434
                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">
2435
        <strong>Parameters:</strong>
2436
        <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>
2437
        <strong>Returns:</strong>
2438
        <ul>
2439
            <li><code>Element</code><div class="sub-desc">this</div></li>
2440
        </ul>
2441
    </div>
2442
                </div>
2443
                        </div>
2444
        </td>
2445
        <td class="msource">Element</td>
2446
    </tr>
2447
        <tr class="method-row alt expandable">
2448
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2449
        <td class="sig">
2450
        <a id="Ext.Element-select"></a>
2451
            <b>select</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Boolean unique</code>]</span>&nbsp;) : CompositeElement/CompositeElementLite            <div class="mdesc">
2452
                        <div class="short">Creates a <a ext:cls="Ext.CompositeElement" href="output/Ext.CompositeElement.html">Ext.CompositeElement</a> for child nodes based on the passed CSS selector (the selector should not contain an id).</div>
2453
            <div class="long">
2454
                Creates a <a ext:cls="Ext.CompositeElement" href="output/Ext.CompositeElement.html">Ext.CompositeElement</a> for child nodes based on the passed CSS selector (the selector should not contain an id).    <div class="mdetail-params">
2455
        <strong>Parameters:</strong>
2456
        <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>
2457
        <strong>Returns:</strong>
2458
        <ul>
2459
            <li><code>CompositeElement/CompositeElementLite</code><div class="sub-desc">The composite element</div></li>
2460
        </ul>
2461
    </div>
2462
                </div>
2463
                        </div>
2464
        </td>
2465
        <td class="msource">Element</td>
2466
    </tr>
2467
        <tr class="method-row expandable">
2468
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2469
        <td class="sig">
2470
        <a id="Ext.Element-set"></a>
2471
            <b>set</b>(&nbsp;<code>Object o</code>, <span class="optional" title="Optional">[<code>Boolean useSet</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2472
                        <div class="short">Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)</div>
2473
            <div class="long">
2474
                Sets the passed attributes as attributes of this element (a style attribute can be a string, object or function)    <div class="mdetail-params">
2475
        <strong>Parameters:</strong>
2476
        <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>
2477
        <strong>Returns:</strong>
2478
        <ul>
2479
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2480
        </ul>
2481
    </div>
2482
                </div>
2483
                        </div>
2484
        </td>
2485
        <td class="msource">Element</td>
2486
    </tr>
2487
        <tr class="method-row alt expandable">
2488
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2489
        <td class="sig">
2490
        <a id="Ext.Element-setBottom"></a>
2491
            <b>setBottom</b>(&nbsp;<code>String bottom</code>&nbsp;) : Ext.Element            <div class="mdesc">
2492
                        <div class="short">Sets the element's CSS bottom style.</div>
2493
            <div class="long">
2494
                Sets the element's CSS bottom style.    <div class="mdetail-params">
2495
        <strong>Parameters:</strong>
2496
        <ul><li><code>bottom</code> : String<div class="sub-desc">The bottom CSS property value</div></li>        </ul>
2497
        <strong>Returns:</strong>
2498
        <ul>
2499
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2500
        </ul>
2501
    </div>
2502
                </div>
2503
                        </div>
2504
        </td>
2505
        <td class="msource">Element</td>
2506
    </tr>
2507
        <tr class="method-row expandable">
2508
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2509
        <td class="sig">
2510
        <a id="Ext.Element-setBounds"></a>
2511
            <b>setBounds</b>(&nbsp;<code>Number x</code>, <code>Number y</code>, <code>Number width</code>, <code>Number height</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2512
                        <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>
2513
            <div class="long">
2514
                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">
2515
        <strong>Parameters:</strong>
2516
        <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> : Number<div class="sub-desc">The new width</div></li><li><code>height</code> : Number<div class="sub-desc">The new height</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>
2517
        <strong>Returns:</strong>
2518
        <ul>
2519
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2520
        </ul>
2521
    </div>
2522
                </div>
2523
                        </div>
2524
        </td>
2525
        <td class="msource">Element</td>
2526
    </tr>
2527
        <tr class="method-row alt expandable">
2528
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2529
        <td class="sig">
2530
        <a id="Ext.Element-setBox"></a>
2531
            <b>setBox</b>(&nbsp;<code>Object box</code>, <span class="optional" title="Optional">[<code>Boolean adjust</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2532
                        <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>
2533
            <div class="long">
2534
                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">
2535
        <strong>Parameters:</strong>
2536
        <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>
2537
        <strong>Returns:</strong>
2538
        <ul>
2539
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2540
        </ul>
2541
    </div>
2542
                </div>
2543
                        </div>
2544
        </td>
2545
        <td class="msource">Element</td>
2546
    </tr>
2547
        <tr class="method-row expandable">
2548
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2549
        <td class="sig">
2550
        <a id="Ext.Element-setDisplayed"></a>
2551
            <b>setDisplayed</b>(&nbsp;<code>Mixed value</code>&nbsp;) : Ext.Element            <div class="mdesc">
2552
                        <div class="short">Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.</div>
2553
            <div class="long">
2554
                Sets the CSS display property. Uses originalDisplay if the specified value is a boolean true.    <div class="mdetail-params">
2555
        <strong>Parameters:</strong>
2556
        <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>
2557
        <strong>Returns:</strong>
2558
        <ul>
2559
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2560
        </ul>
2561
    </div>
2562
                </div>
2563
                        </div>
2564
        </td>
2565
        <td class="msource">Element</td>
2566
    </tr>
2567
        <tr class="method-row alt expandable">
2568
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2569
        <td class="sig">
2570
        <a id="Ext.Element-setHeight"></a>
2571
            <b>setHeight</b>(&nbsp;<code>Number height</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2572
                        <div class="short">Set the height of the element</div>
2573
            <div class="long">
2574
                Set the height of the element    <div class="mdetail-params">
2575
        <strong>Parameters:</strong>
2576
        <ul><li><code>height</code> : Number<div class="sub-desc">The new height</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>
2577
        <strong>Returns:</strong>
2578
        <ul>
2579
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2580
        </ul>
2581
    </div>
2582
                </div>
2583
                        </div>
2584
        </td>
2585
        <td class="msource">Element</td>
2586
    </tr>
2587
        <tr class="method-row expandable">
2588
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2589
        <td class="sig">
2590
        <a id="Ext.Element-setLeft"></a>
2591
            <b>setLeft</b>(&nbsp;<code>String left</code>&nbsp;) : Ext.Element            <div class="mdesc">
2592
                        <div class="short">Sets the element's left position directly using CSS style (instead of <a ext:cls="Ext.Element" ext:member="setX" href="output/Ext.Element.html#setX">setX</a>).</div>
2593
            <div class="long">
2594
                Sets the element's left position directly using CSS style (instead of <a ext:cls="Ext.Element" ext:member="setX" href="output/Ext.Element.html#setX">setX</a>).    <div class="mdetail-params">
2595
        <strong>Parameters:</strong>
2596
        <ul><li><code>left</code> : String<div class="sub-desc">The left CSS property value</div></li>        </ul>
2597
        <strong>Returns:</strong>
2598
        <ul>
2599
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2600
        </ul>
2601
    </div>
2602
                </div>
2603
                        </div>
2604
        </td>
2605
        <td class="msource">Element</td>
2606
    </tr>
2607
        <tr class="method-row alt expandable">
2608
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2609
        <td class="sig">
2610
        <a id="Ext.Element-setLeftTop"></a>
2611
            <b>setLeftTop</b>(&nbsp;<code>String left</code>, <code>String top</code>&nbsp;) : Ext.Element            <div class="mdesc">
2612
                        <div class="short">Quick set left and top adding default units</div>
2613
            <div class="long">
2614
                Quick set left and top adding default units    <div class="mdetail-params">
2615
        <strong>Parameters:</strong>
2616
        <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>
2617
        <strong>Returns:</strong>
2618
        <ul>
2619
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2620
        </ul>
2621
    </div>
2622
                </div>
2623
                        </div>
2624
        </td>
2625
        <td class="msource">Element</td>
2626
    </tr>
2627
        <tr class="method-row expandable">
2628
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2629
        <td class="sig">
2630
        <a id="Ext.Element-setLocation"></a>
2631
            <b>setLocation</b>(&nbsp;<code>Number x</code>, <code>Number y</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2632
                        <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
2633
The element must b...</div>
2634
            <div class="long">
2635
                Sets the position of the element in page coordinates, regardless of how the element is positioned.
2636
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">
2637
        <strong>Parameters:</strong>
2638
        <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>
2639
        <strong>Returns:</strong>
2640
        <ul>
2641
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2642
        </ul>
2643
    </div>
2644
                </div>
2645
                        </div>
2646
        </td>
2647
        <td class="msource">Element</td>
2648
    </tr>
2649
        <tr class="method-row alt expandable">
2650
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2651
        <td class="sig">
2652
        <a id="Ext.Element-setOpacity"></a>
2653
            <b>setOpacity</b>(&nbsp;<code>Float opacity</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2654
                        <div class="short">Set the opacity of the element</div>
2655
            <div class="long">
2656
                Set the opacity of the element    <div class="mdetail-params">
2657
        <strong>Parameters:</strong>
2658
        <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) true for the default animation or a standard Element animation config object</div></li>        </ul>
2659
        <strong>Returns:</strong>
2660
        <ul>
2661
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2662
        </ul>
2663
    </div>
2664
                </div>
2665
                        </div>
2666
        </td>
2667
        <td class="msource">Element</td>
2668
    </tr>
2669
        <tr class="method-row expandable">
2670
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2671
        <td class="sig">
2672
        <a id="Ext.Element-setPositioning"></a>
2673
            <b>setPositioning</b>(&nbsp;<code>Object posCfg</code>&nbsp;) : Ext.Element            <div class="mdesc">
2674
                        <div class="short">Set positioning with an object returned by getPositioning().</div>
2675
            <div class="long">
2676
                Set positioning with an object returned by getPositioning().    <div class="mdetail-params">
2677
        <strong>Parameters:</strong>
2678
        <ul><li><code>posCfg</code> : Object<div class="sub-desc"></div></li>        </ul>
2679
        <strong>Returns:</strong>
2680
        <ul>
2681
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2682
        </ul>
2683
    </div>
2684
                </div>
2685
                        </div>
2686
        </td>
2687
        <td class="msource">Element</td>
2688
    </tr>
2689
        <tr class="method-row alt expandable">
2690
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2691
        <td class="sig">
2692
        <a id="Ext.Element-setRegion"></a>
2693
            <b>setRegion</b>(&nbsp;<code>Ext.lib.Region region</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2694
                        <div class="short">Sets the element's position and size the the specified region. If animation is true then width, height, x and y will ...</div>
2695
            <div class="long">
2696
                Sets the element's position and size the the specified region. If animation is true then width, height, x and y will be animated concurrently.    <div class="mdetail-params">
2697
        <strong>Parameters:</strong>
2698
        <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>
2699
        <strong>Returns:</strong>
2700
        <ul>
2701
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2702
        </ul>
2703
    </div>
2704
                </div>
2705
                        </div>
2706
        </td>
2707
        <td class="msource">Element</td>
2708
    </tr>
2709
        <tr class="method-row expandable">
2710
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2711
        <td class="sig">
2712
        <a id="Ext.Element-setRight"></a>
2713
            <b>setRight</b>(&nbsp;<code>String right</code>&nbsp;) : Ext.Element            <div class="mdesc">
2714
                        <div class="short">Sets the element's CSS right style.</div>
2715
            <div class="long">
2716
                Sets the element's CSS right style.    <div class="mdetail-params">
2717
        <strong>Parameters:</strong>
2718
        <ul><li><code>right</code> : String<div class="sub-desc">The right CSS property value</div></li>        </ul>
2719
        <strong>Returns:</strong>
2720
        <ul>
2721
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2722
        </ul>
2723
    </div>
2724
                </div>
2725
                        </div>
2726
        </td>
2727
        <td class="msource">Element</td>
2728
    </tr>
2729
        <tr class="method-row alt expandable">
2730
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2731
        <td class="sig">
2732
        <a id="Ext.Element-setSize"></a>
2733
            <b>setSize</b>(&nbsp;<code>Number width</code>, <code>Number height</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2734
                        <div class="short">Set the size of the element. If animation is true, both width an height will be animated concurrently.</div>
2735
            <div class="long">
2736
                Set the size of the element. If animation is true, both width an height will be animated concurrently.    <div class="mdetail-params">
2737
        <strong>Parameters:</strong>
2738
        <ul><li><code>width</code> : Number<div class="sub-desc">The new width</div></li><li><code>height</code> : Number<div class="sub-desc">The new height</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>
2739
        <strong>Returns:</strong>
2740
        <ul>
2741
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2742
        </ul>
2743
    </div>
2744
                </div>
2745
                        </div>
2746
        </td>
2747
        <td class="msource">Element</td>
2748
    </tr>
2749
        <tr class="method-row expandable">
2750
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2751
        <td class="sig">
2752
        <a id="Ext.Element-setStyle"></a>
2753
            <b>setStyle</b>(&nbsp;<code>String/Object property</code>, <span class="optional" title="Optional">[<code>String value</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2754
                        <div class="short">Wrapper for setting style properties, also takes single object parameter of multiple styles.</div>
2755
            <div class="long">
2756
                Wrapper for setting style properties, also takes single object parameter of multiple styles.    <div class="mdetail-params">
2757
        <strong>Parameters:</strong>
2758
        <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>
2759
        <strong>Returns:</strong>
2760
        <ul>
2761
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2762
        </ul>
2763
    </div>
2764
                </div>
2765
                        </div>
2766
        </td>
2767
        <td class="msource">Element</td>
2768
    </tr>
2769
        <tr class="method-row alt expandable">
2770
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2771
        <td class="sig">
2772
        <a id="Ext.Element-setTop"></a>
2773
            <b>setTop</b>(&nbsp;<code>String top</code>&nbsp;) : Ext.Element            <div class="mdesc">
2774
                        <div class="short">Sets the element's top position directly using CSS style (instead of <a ext:cls="Ext.Element" ext:member="setY" href="output/Ext.Element.html#setY">setY</a>).</div>
2775
            <div class="long">
2776
                Sets the element's top position directly using CSS style (instead of <a ext:cls="Ext.Element" ext:member="setY" href="output/Ext.Element.html#setY">setY</a>).    <div class="mdetail-params">
2777
        <strong>Parameters:</strong>
2778
        <ul><li><code>top</code> : String<div class="sub-desc">The top CSS property value</div></li>        </ul>
2779
        <strong>Returns:</strong>
2780
        <ul>
2781
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2782
        </ul>
2783
    </div>
2784
                </div>
2785
                        </div>
2786
        </td>
2787
        <td class="msource">Element</td>
2788
    </tr>
2789
        <tr class="method-row expandable">
2790
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2791
        <td class="sig">
2792
        <a id="Ext.Element-setVisibilityMode"></a>
2793
            <b>setVisibilityMode</b>(&nbsp;<code>visMode Element.VISIBILITY</code>&nbsp;) : Ext.Element            <div class="mdesc">
2794
                        <div class="short">Sets the element's visibility mode. When setVisible() is called it
2795
will use this to determine whether to set the visi...</div>
2796
            <div class="long">
2797
                Sets the element's visibility mode. When setVisible() is called it
2798
will use this to determine whether to set the visibility or the display property.    <div class="mdetail-params">
2799
        <strong>Parameters:</strong>
2800
        <ul><li><code>Element.VISIBILITY</code> : visMode<div class="sub-desc">or Element.DISPLAY</div></li>        </ul>
2801
        <strong>Returns:</strong>
2802
        <ul>
2803
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2804
        </ul>
2805
    </div>
2806
                </div>
2807
                        </div>
2808
        </td>
2809
        <td class="msource">Element</td>
2810
    </tr>
2811
        <tr class="method-row alt expandable">
2812
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2813
        <td class="sig">
2814
        <a id="Ext.Element-setVisible"></a>
2815
            <b>setVisible</b>(&nbsp;<code>Boolean visible</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2816
                        <div class="short">Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
2817
the di...</div>
2818
            <div class="long">
2819
                Sets the visibility of the element (see details). If the visibilityMode is set to Element.DISPLAY, it will use
2820
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">
2821
        <strong>Parameters:</strong>
2822
        <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>
2823
        <strong>Returns:</strong>
2824
        <ul>
2825
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2826
        </ul>
2827
    </div>
2828
                </div>
2829
                        </div>
2830
        </td>
2831
        <td class="msource">Element</td>
2832
    </tr>
2833
        <tr class="method-row expandable">
2834
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2835
        <td class="sig">
2836
        <a id="Ext.Element-setWidth"></a>
2837
            <b>setWidth</b>(&nbsp;<code>Number width</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2838
                        <div class="short">Set the width of the element</div>
2839
            <div class="long">
2840
                Set the width of the element    <div class="mdetail-params">
2841
        <strong>Parameters:</strong>
2842
        <ul><li><code>width</code> : Number<div class="sub-desc">The new width</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>
2843
        <strong>Returns:</strong>
2844
        <ul>
2845
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2846
        </ul>
2847
    </div>
2848
                </div>
2849
                        </div>
2850
        </td>
2851
        <td class="msource">Element</td>
2852
    </tr>
2853
        <tr class="method-row alt expandable">
2854
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2855
        <td class="sig">
2856
        <a id="Ext.Element-setX"></a>
2857
            <b>setX</b>(&nbsp;<code>Number The</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2858
                        <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>
2859
            <div class="long">
2860
                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">
2861
        <strong>Parameters:</strong>
2862
        <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>
2863
        <strong>Returns:</strong>
2864
        <ul>
2865
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2866
        </ul>
2867
    </div>
2868
                </div>
2869
                        </div>
2870
        </td>
2871
        <td class="msource">Element</td>
2872
    </tr>
2873
        <tr class="method-row expandable">
2874
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2875
        <td class="sig">
2876
        <a id="Ext.Element-setXY"></a>
2877
            <b>setXY</b>(&nbsp;<code>Array pos</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2878
                        <div class="short">Sets the position of the element in page coordinates, regardless of how the element is positioned.
2879
The element must b...</div>
2880
            <div class="long">
2881
                Sets the position of the element in page coordinates, regardless of how the element is positioned.
2882
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">
2883
        <strong>Parameters:</strong>
2884
        <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>
2885
        <strong>Returns:</strong>
2886
        <ul>
2887
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2888
        </ul>
2889
    </div>
2890
                </div>
2891
                        </div>
2892
        </td>
2893
        <td class="msource">Element</td>
2894
    </tr>
2895
        <tr class="method-row alt expandable">
2896
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2897
        <td class="sig">
2898
        <a id="Ext.Element-setY"></a>
2899
            <b>setY</b>(&nbsp;<code>Number The</code>, <span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2900
                        <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>
2901
            <div class="long">
2902
                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">
2903
        <strong>Parameters:</strong>
2904
        <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>
2905
        <strong>Returns:</strong>
2906
        <ul>
2907
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2908
        </ul>
2909
    </div>
2910
                </div>
2911
                        </div>
2912
        </td>
2913
        <td class="msource">Element</td>
2914
    </tr>
2915
        <tr class="method-row expandable">
2916
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2917
        <td class="sig">
2918
        <a id="Ext.Element-show"></a>
2919
            <b>show</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2920
                        <div class="short">Show this element - Uses display mode to determine whether to use "display" or "visibility". See <a ext:cls="Ext.Element" ext:member="setVisible" href="output/Ext.Element.html#setVisible">setVisible</a>.</div>
2921
            <div class="long">
2922
                Show this element - Uses display mode to determine whether to use "display" or "visibility". See <a ext:cls="Ext.Element" ext:member="setVisible" href="output/Ext.Element.html#setVisible">setVisible</a>.    <div class="mdetail-params">
2923
        <strong>Parameters:</strong>
2924
        <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>
2925
        <strong>Returns:</strong>
2926
        <ul>
2927
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2928
        </ul>
2929
    </div>
2930
                </div>
2931
                        </div>
2932
        </td>
2933
        <td class="msource">Element</td>
2934
    </tr>
2935
        <tr class="method-row alt expandable">
2936
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2937
        <td class="sig">
2938
        <a id="Ext.Element-swallowEvent"></a>
2939
            <b>swallowEvent</b>(&nbsp;<code>String eventName</code>, <span class="optional" title="Optional">[<code>Boolean preventDefault</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2940
                        <div class="short">Stops the specified event from bubbling and optionally prevents the default action</div>
2941
            <div class="long">
2942
                Stops the specified event from bubbling and optionally prevents the default action    <div class="mdetail-params">
2943
        <strong>Parameters:</strong>
2944
        <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>preventDefault</code> : Boolean<div class="sub-desc">(optional) true to prevent the default action too</div></li>        </ul>
2945
        <strong>Returns:</strong>
2946
        <ul>
2947
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2948
        </ul>
2949
    </div>
2950
                </div>
2951
                        </div>
2952
        </td>
2953
        <td class="msource">Element</td>
2954
    </tr>
2955
        <tr class="method-row expandable">
2956
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2957
        <td class="sig">
2958
        <a id="Ext.Element-toggle"></a>
2959
            <b>toggle</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean/Object animate</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
2960
                        <div class="short">Toggles the element's visibility or display, depending on visibility mode.</div>
2961
            <div class="long">
2962
                Toggles the element's visibility or display, depending on visibility mode.    <div class="mdetail-params">
2963
        <strong>Parameters:</strong>
2964
        <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>
2965
        <strong>Returns:</strong>
2966
        <ul>
2967
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2968
        </ul>
2969
    </div>
2970
                </div>
2971
                        </div>
2972
        </td>
2973
        <td class="msource">Element</td>
2974
    </tr>
2975
        <tr class="method-row alt expandable">
2976
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2977
        <td class="sig">
2978
        <a id="Ext.Element-toggleClass"></a>
2979
            <b>toggleClass</b>(&nbsp;<code>String className</code>&nbsp;) : Ext.Element            <div class="mdesc">
2980
                        <div class="short">Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).</div>
2981
            <div class="long">
2982
                Toggles the specified CSS class on this element (removes it if it already exists, otherwise adds it).    <div class="mdetail-params">
2983
        <strong>Parameters:</strong>
2984
        <ul><li><code>className</code> : String<div class="sub-desc">The CSS class to toggle</div></li>        </ul>
2985
        <strong>Returns:</strong>
2986
        <ul>
2987
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
2988
        </ul>
2989
    </div>
2990
                </div>
2991
                        </div>
2992
        </td>
2993
        <td class="msource">Element</td>
2994
    </tr>
2995
        <tr class="method-row expandable">
2996
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
2997
        <td class="sig">
2998
        <a id="Ext.Element-translatePoints"></a>
2999
            <b>translatePoints</b>(&nbsp;<code>Number/Array x</code>, <code>Number y</code>&nbsp;) : Object            <div class="mdesc">
3000
                        <div class="short">Translates the passed page coordinates into left/top css values for this element</div>
3001
            <div class="long">
3002
                Translates the passed page coordinates into left/top css values for this element    <div class="mdetail-params">
3003
        <strong>Parameters:</strong>
3004
        <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">The page y</div></li>        </ul>
3005
        <strong>Returns:</strong>
3006
        <ul>
3007
            <li><code>Object</code><div class="sub-desc">An object with left and top properties. e.g. {left: (value), top: (value)}</div></li>
3008
        </ul>
3009
    </div>
3010
                </div>
3011
                        </div>
3012
        </td>
3013
        <td class="msource">Element</td>
3014
    </tr>
3015
        <tr class="method-row alt expandable">
3016
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3017
        <td class="sig">
3018
        <a id="Ext.Element-un"></a>
3019
            <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function fn</code>&nbsp;) : Ext.Element            <div class="mdesc">
3020
                        <div class="short">Removes an event handler from this element (shorthand for <a ext:cls="Ext.Element" ext:member="removeListener" href="output/Ext.Element.html#removeListener">removeListener</a>).</div>
3021
            <div class="long">
3022
                Removes an event handler from this element (shorthand for <a ext:cls="Ext.Element" ext:member="removeListener" href="output/Ext.Element.html#removeListener">removeListener</a>).    <div class="mdetail-params">
3023
        <strong>Parameters:</strong>
3024
        <ul><li><code>eventName</code> : String<div class="sub-desc">the type of event to remove</div></li><li><code>fn</code> : Function<div class="sub-desc">the method the event invokes</div></li>        </ul>
3025
        <strong>Returns:</strong>
3026
        <ul>
3027
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3028
        </ul>
3029
    </div>
3030
                </div>
3031
                        </div>
3032
        </td>
3033
        <td class="msource">Element</td>
3034
    </tr>
3035
        <tr class="method-row expandable">
3036
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3037
        <td class="sig">
3038
        <a id="Ext.Element-unclip"></a>
3039
            <b>unclip</b>() : Ext.Element            <div class="mdesc">
3040
                        <div class="short">Return clipping (overflow) to original clipping before clip() was called</div>
3041
            <div class="long">
3042
                Return clipping (overflow) to original clipping before clip() was called    <div class="mdetail-params">
3043
        <strong>Parameters:</strong>
3044
        <ul><li>None.</li>        </ul>
3045
        <strong>Returns:</strong>
3046
        <ul>
3047
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3048
        </ul>
3049
    </div>
3050
                </div>
3051
                        </div>
3052
        </td>
3053
        <td class="msource">Element</td>
3054
    </tr>
3055
        <tr class="method-row alt expandable">
3056
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3057
        <td class="sig">
3058
        <a id="Ext.Element-unmask"></a>
3059
            <b>unmask</b>() : void            <div class="mdesc">
3060
                        <div class="short">Removes a previously applied mask.</div>
3061
            <div class="long">
3062
                Removes a previously applied mask.    <div class="mdetail-params">
3063
        <strong>Parameters:</strong>
3064
        <ul><li>None.</li>        </ul>
3065
        <strong>Returns:</strong>
3066
        <ul>
3067
            <li><code>void</code></li>
3068
        </ul>
3069
    </div>
3070
                </div>
3071
                        </div>
3072
        </td>
3073
        <td class="msource">Element</td>
3074
    </tr>
3075
        <tr class="method-row expandable">
3076
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3077
        <td class="sig">
3078
        <a id="Ext.Element-unselectable"></a>
3079
            <b>unselectable</b>() : Ext.Element            <div class="mdesc">
3080
                        <div class="short">Disables text selection for this element (normalized across browsers)</div>
3081
            <div class="long">
3082
                Disables text selection for this element (normalized across browsers)    <div class="mdetail-params">
3083
        <strong>Parameters:</strong>
3084
        <ul><li>None.</li>        </ul>
3085
        <strong>Returns:</strong>
3086
        <ul>
3087
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3088
        </ul>
3089
    </div>
3090
                </div>
3091
                        </div>
3092
        </td>
3093
        <td class="msource">Element</td>
3094
    </tr>
3095
        <tr class="method-row alt expandable">
3096
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3097
        <td class="sig">
3098
        <a id="Ext.Element-up"></a>
3099
            <b>up</b>(&nbsp;<code>String selector</code>, <span class="optional" title="Optional">[<code>Number/Mixed maxDepth</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
3100
                        <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>
3101
            <div class="long">
3102
                Walks up the dom looking for a parent node that matches the passed simple selector (e.g. div.some-class or span:first-child).
3103
This is a shortcut for findParentNode() that always returns an Ext.Element.    <div class="mdetail-params">
3104
        <strong>Parameters:</strong>
3105
        <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
3106
 search as a number or element (defaults to 10 || document.body)</div></li>        </ul>
3107
        <strong>Returns:</strong>
3108
        <ul>
3109
            <li><code>Ext.Element</code><div class="sub-desc">The matching DOM node (or null if no match was found)</div></li>
3110
        </ul>
3111
    </div>
3112
                </div>
3113
                        </div>
3114
        </td>
3115
        <td class="msource">Element</td>
3116
    </tr>
3117
        <tr class="method-row expandable">
3118
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3119
        <td class="sig">
3120
        <a id="Ext.Element-update"></a>
3121
            <b>update</b>(&nbsp;<code>String html</code>, <span class="optional" title="Optional">[<code>Boolean loadScripts</code>]</span>, <span class="optional" title="Optional">[<code>Function callback</code>]</span>&nbsp;) : Ext.Element            <div class="mdesc">
3122
                        <div class="short">Update the innerHTML of this element, optionally searching for and processing scripts</div>
3123
            <div class="long">
3124
                Update the innerHTML of this element, optionally searching for and processing scripts    <div class="mdetail-params">
3125
        <strong>Parameters:</strong>
3126
        <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>
3127
        <strong>Returns:</strong>
3128
        <ul>
3129
            <li><code>Ext.Element</code><div class="sub-desc">this</div></li>
3130
        </ul>
3131
    </div>
3132
                </div>
3133
                        </div>
3134
        </td>
3135
        <td class="msource">Element</td>
3136
    </tr>
3137
        <tr class="method-row alt expandable">
3138
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
3139
        <td class="sig">
3140
        <a id="Ext.Element-wrap"></a>
3141
            <b>wrap</b>(&nbsp;<span class="optional" title="Optional">[<code>Object config</code>]</span>, <span class="optional" title="Optional">[<code>Boolean returnDom</code>]</span>&nbsp;) : HTMLElement/Element            <div class="mdesc">
3142
                        <div class="short">Creates and wraps this element with another element</div>
3143
            <div class="long">
3144
                Creates and wraps this element with another element    <div class="mdetail-params">
3145
        <strong>Parameters:</strong>
3146
        <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>
3147
        <strong>Returns:</strong>
3148
        <ul>
3149
            <li><code>HTMLElement/Element</code><div class="sub-desc">The newly created wrapper element</div></li>
3150
        </ul>
3151
    </div>
3152
                </div>
3153
                        </div>
3154
        </td>
3155
        <td class="msource">Element</td>
3156
    </tr>
3157
            </table>
3158
                <a id="Ext.Element-events"></a>
3159
        <h2>Public Events</h2>
3160
        <div class="no-members">This class has no public events.</div>
3161
        </div>