You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
298 KiB

2 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. Ext.data.JsonP.Ext_Element({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":["Ext.Layer"],"extends":null,"uses":[],"html":"<div><pre class=\"hierarchy\"><h4>Subclasses</h4><div class='dependency'><a href='#!/api/Ext.Layer' rel='Ext.Layer' class='docClass'>Ext.Layer</a></div><h4>Files</h4><div class='dependency'><a href='source/Element-more.html#Ext-Element' target='_blank'>Element-more.js</a></div><div class='dependency'><a href='source/Element.alignment.html#Ext-Element' target='_blank'>Element.alignment.js</a></div><div class='dependency'><a href='source/Element.dd.html#Ext-Element' target='_blank'>Element.dd.js</a></div><div class='dependency'><a href='source/Element.fx-more.html#Ext-Element' target='_blank'>Element.fx-more.js</a></div><div class='dependency'><a href='source/Element.insertion-more.html#Ext-Element' target='_blank'>Element.insertion-more.js</a></div><div class='dependency'><a href='source/Element.keys.html#Ext-Element' target='_blank'>Element.keys.js</a></div><div class='dependency'><a href='source/Element.position-more.html#Ext-Element' target='_blank'>Element.position-more.js</a></div><div class='dependency'><a href='source/Element.scroll-more.html#Ext-Element' target='_blank'>Element.scroll-more.js</a></div><div class='dependency'><a href='source/Element.style-more.html#Ext-Element' target='_blank'>Element.style-more.js</a></div><div class='dependency'><a href='source/Element.traversal-more.html#Ext-Element' target='_blank'>Element.traversal-more.js</a></div><div class='dependency'><a href='source/Element.fx.html#Ext-Element' target='_blank'>Element.fx.js</a></div><div class='dependency'><a href='source/Element.insertion.html#Ext-Element' target='_blank'>Element.insertion.js</a></div><div class='dependency'><a href='source/Element.html#Ext-Element' target='_blank'>Element.js</a></div><div class='dependency'><a href='source/Element.position.html#Ext-Element' target='_blank'>Element.position.js</a></div><div class='dependency'><a href='source/Element.scroll.html#Ext-Element' target='_blank'>Element.scroll.js</a></div><div class='dependency'><a href='source/Element.style.html#Ext-Element' target='_blank'>Element.style.js</a></div><div class='dependency'><a href='source/Element.traversal.html#Ext-Element' target='_blank'>Element.traversal.js</a></div></pre><div class='doc-contents'><p>Encapsulates a DOM element, adding simple DOM manipulation facilities, normalizing for browser differences.</p>\n\n\n<p>All instances of this class inherit the methods of <a href=\"#!/api/Ext.Fx\" rel=\"Ext.Fx\" class=\"docClass\">Ext.Fx</a> making visual effects easily available to all DOM elements.</p>\n\n\n<p>Note that the events documented in this class are not Ext events, they encapsulate browser events. To\naccess the underlying browser event, see Ext.EventObject.browserEvent. Some older\nbrowsers may not support the full range of events. Which events are supported is beyond the control of ExtJs.</p>\n\n\n<p>Usage:<br></p>\n\n<pre><code>// by id\nvar el = <a href=\"#!/api/Ext-method-get\" rel=\"Ext-method-get\" class=\"docClass\">Ext.get</a>(\"my-div\");\n\n// by DOM element reference\nvar el = <a href=\"#!/api/Ext-method-get\" rel=\"Ext-method-get\" class=\"docClass\">Ext.get</a>(myDivElement);\n</code></pre>\n\n\n<p><b>Animations</b><br /></p>\n\n<p>When an element is manipulated, by default there is no animation.</p>\n\n\n<pre><code>var el = <a href=\"#!/api/Ext-method-get\" rel=\"Ext-method-get\" class=\"docClass\">Ext.get</a>(\"my-div\");\n\n// no animation\nel.setWidth(100);\n</code></pre>\n\n\n<p>Many of the functions for manipulating an element have an optional \"animate\" parameter. This\nparameter can be specified as boolean (<tt>true</tt>) for default animation effects.</p>\n\n\n<pre><code>// default animation\nel.setWidth(100, true);\n</code></pre>\n\n\n\n\n<p>To configure the effects, an object literal with animation options to use as the Element animation\nconfiguration object can also be specified. Note that the supported Element animation configurat