Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / source / Element.fx-more.html
index 53f3303..38adb26 100644 (file)
@@ -3,8 +3,8 @@
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <title>The source code</title>
-  <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
-  <script type="text/javascript" src="../prettify/prettify.js"></script>
+  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
   <style type="text/css">
     .highlight { display: block; background-color: #ddd; }
   </style>
   </script>
 </head>
 <body onload="prettyPrint(); highlight();">
-  <pre class="prettyprint lang-js"><span id='Ext-core-Element'>/**
-</span> * @class Ext.core.Element
+  <pre class="prettyprint lang-js"><span id='Ext-Element'>/**
+</span> * @class Ext.Element
  */
-Ext.core.Element.addMethods(
+Ext.Element.addMethods(
     function() {
         var VISIBILITY      = &quot;visibility&quot;,
             DISPLAY         = &quot;display&quot;,
@@ -26,12 +26,12 @@ Ext.core.Element.addMethods(
             NONE            = &quot;none&quot;,
             XMASKED         = Ext.baseCSSPrefix + &quot;masked&quot;,
             XMASKEDRELATIVE = Ext.baseCSSPrefix + &quot;masked-relative&quot;,
-            data            = Ext.core.Element.data;
+            data            = Ext.Element.data;
 
         return {
-<span id='Ext-core-Element-method-isVisible'>            /**
+<span id='Ext-Element-method-isVisible'>            /**
 </span>             * Checks whether the element is currently visible using both visibility and display properties.
-             * @param {Boolean} deep (optional) True to walk the dom and see if parent elements are hidden (defaults to false)
+             * @param {Boolean} [deep=false] True to walk the dom and see if parent elements are hidden
              * @return {Boolean} True if the element is currently visible, else false
              */
             isVisible : function(deep) {
@@ -51,7 +51,7 @@ Ext.core.Element.addMethods(
                 return true;
             },
 
-<span id='Ext-core-Element-method-isDisplayed'>            /**
+<span id='Ext-Element-method-isDisplayed'>            /**
 </span>             * Returns true if display is not &quot;none&quot;
              * @return {Boolean}
              */
@@ -59,13 +59,13 @@ Ext.core.Element.addMethods(
                 return !this.isStyle(DISPLAY, NONE);
             },
 
-<span id='Ext-core-Element-method-enableDisplayMode'>            /**
+<span id='Ext-Element-method-enableDisplayMode'>            /**
 </span>             * Convenience method for setVisibilityMode(Element.DISPLAY)
              * @param {String} display (optional) What to set display to when visible
-             * @return {Ext.core.Element} this
+             * @return {Ext.Element} this
              */
             enableDisplayMode : function(display) {
-                this.setVisibilityMode(Ext.core.Element.DISPLAY);
+                this.setVisibilityMode(Ext.Element.DISPLAY);
 
                 if (!Ext.isEmpty(display)) {
                     data(this.dom, 'originalDisplay', display);
@@ -74,18 +74,18 @@ Ext.core.Element.addMethods(
                 return this;
             },
 
-<span id='Ext-core-Element-method-mask'>            /**
+<span id='Ext-Element-method-mask'>            /**
 </span>             * Puts a mask over this element to disable user interaction. Requires core.css.
              * This method can only be applied to elements which accept child nodes.
              * @param {String} msg (optional) A message to display in the mask
              * @param {String} msgCls (optional) A css class to apply to the msg element
-             * @return {Element} The mask element
+             * @return {Ext.Element} The mask element
              */
             mask : function(msg, msgCls) {
                 var me  = this,
                     dom = me.dom,
                     setExpression = dom.style.setExpression,
-                    dh  = Ext.core.DomHelper,
+                    dh  = Ext.DomHelper,
                     EXTELMASKMSG = Ext.baseCSSPrefix + &quot;mask-msg&quot;,
                     el,
                     mask;
@@ -137,7 +137,7 @@ Ext.core.Element.addMethods(
                 return mask;
             },
 
-<span id='Ext-core-Element-method-unmask'>            /**
+<span id='Ext-Element-method-unmask'>            /**
 </span>             * Removes a previously applied mask.
              */
             unmask : function() {
@@ -162,7 +162,7 @@ Ext.core.Element.addMethods(
                     me.removeCls([XMASKED, XMASKEDRELATIVE]);
                 }
             },
-<span id='Ext-core-Element-method-isMasked'>            /**
+<span id='Ext-Element-method-isMasked'>            /**
 </span>             * Returns true if this element is masked. Also re-centers any displayed message within the mask.
              * @return {Boolean}
              */
@@ -180,10 +180,10 @@ Ext.core.Element.addMethods(
                 return false;
             },
 
-<span id='Ext-core-Element-method-createShim'>            /**
+<span id='Ext-Element-method-createShim'>            /**
 </span>             * Creates an iframe shim for this element to keep selects and other windowed objects from
              * showing through.
-             * @return {Ext.core.Element} The new shim element
+             * @return {Ext.Element} The new shim element
              */
             createShim : function() {
                 var el = document.createElement('iframe'),