Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / docs / source / StatusProxy.html
index a37106f..080edbf 100644 (file)
@@ -1,17 +1,12 @@
-<html>
-<head>
-  <title>The source code</title>
-    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
-    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
-</head>
-<body  onload="prettyPrint();">
-    <pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-<div id="cls-Ext.dd.StatusProxy"></div>/**\r
+<html>\r
+<head>\r
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />    \r
+  <title>The source code</title>\r
+    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
+    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
+</head>\r
+<body  onload="prettyPrint();">\r
+    <pre class="prettyprint lang-js"><div id="cls-Ext.dd.StatusProxy"></div>/**\r
  * @class Ext.dd.StatusProxy\r
  * A specialized drag proxy that supports a drop status icon, {@link Ext.Layer} styles and auto-repair.  This is the\r
  * default drag proxy used by all Ext.dd components.\r
@@ -144,8 +139,8 @@ Ext.dd.StatusProxy.prototype = {
      * Causes the proxy to return to its position of origin via an animation.  Should be called after an\r
      * invalid drop operation by the item being dragged.\r
      * @param {Array} xy The XY position of the element ([x, y])\r
-     * @param {Function} callback The function to call after the repair is complete\r
-     * @param {Object} scope The scope in which to execute the callback\r
+     * @param {Function} callback The function to call after the repair is complete.\r
+     * @param {Object} scope The scope (<code>this</code> reference) in which the callback function is executed. Defaults to the browser window.\r
      */\r
     repair : function(xy, callback, scope){\r
         this.callback = callback;\r
@@ -174,7 +169,11 @@ Ext.dd.StatusProxy.prototype = {
         }\r
         this.callback = null;\r
         this.scope = null;\r
+    },\r
+    \r
+    destroy: function(){\r
+        Ext.destroy(this.ghost, this.el);    \r
     }\r
-};</pre>
-</body>
+};</pre>    \r
+</body>\r
 </html>
\ No newline at end of file