dd-plugin-debug.js revision 86610ea3c2414315aad559ae58132e3fb97fa2c6
279N/AYUI.add('dd-plugin', function(Y) {
279N/A
279N/A /**
279N/A * This is a simple Drag plugin that can be attached to a Node via the plug method.
279N/A * @module dd-plugin
279N/A * @submodule dd-plugin
279N/A */
279N/A /**
279N/A * This is a simple Drag plugin that can be attached to a Node via the plug method.
279N/A * @class DragPlugin
279N/A * @extends Drag
279N/A * @constructor
279N/A * @namespace plugin
279N/A */
279N/A
279N/A
279N/A var Drag = function(config) {
279N/A config.node = config.owner;
279N/A Drag.superclass.constructor.apply(this, arguments);
279N/A };
279N/A
2578N/A /**
279N/A * @property NAME
279N/A * @description dd-plugin
279N/A * @type {String}
279N/A */
279N/A Drag.NAME = "dd-plugin";
2677N/A /**
2677N/A * @property NS
279N/A * @description The Drag instance will be placed on the Node instance under the dd namespace. It can be accessed via Node.dd;
279N/A * @type {String}
279N/A */
844N/A Drag.NS = "dd";
2677N/A
279N/A
279N/A Y.extend(Drag, Y.DD.Drag);
1258N/A Y.namespace('plugin');
279N/A Y.plugin.Drag = Drag;
2899N/A
2899N/A
279N/A
279N/A}, '@VERSION@' ,{optional:['dd-constrain', 'dd-proxy'], requires:['dd-drag'], skinnable:false});
279N/A