diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/api/dd-plugin.js.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/api/dd-plugin.js.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,188 @@ + + + + + API: dd dd-plugin.js (YUI Library) + + + + + + + + + + +
+
+

Yahoo! UI Library

+

dd  3.0.0b1

+ Yahoo! UI Library + > dd + + > dd-plugin.js (source view) +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ +
+ +
       /**
+        * This is a simple Drag plugin that can be attached to a Node via the plug method.
+        * @module dd
+        * @submodule dd-plugin
+        */
+       /**
+        * This is a simple Drag plugin that can be attached to a Node via the plug method.
+        * @class Drag
+        * @extends DD.Drag
+        * @constructor
+        * @namespace Plugin
+        */
+
+
+        var Drag = function(config) {
+            config.node = config.host;
+            Drag.superclass.constructor.apply(this, arguments);
+        };
+        
+        /**
+        * @property NAME
+        * @description dd-plugin
+        * @type {String}
+        */
+        Drag.NAME = "dd-plugin";
+
+        /**
+        * @property NS
+        * @description The Drag instance will be placed on the Node instance under the dd namespace. It can be accessed via Node.dd;
+        * @type {String}
+        */
+        Drag.NS = "dd";
+
+
+        Y.extend(Drag, Y.DD.Drag);
+        Y.namespace('Plugin');
+        Y.Plugin.Drag = Drag;
+
+
+
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +