dd-plugin.js revision e912e5deebeae5c0609ed443e759bdda479ed80a
/**
* 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
*/
config.node = ((Y.Widget && config.host instanceof Y.Widget) ? config.host.get('boundingBox') : config.host);
};
/**
* @property NAME
* @description dd-plugin
* @type {String}
*/
/**
* @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}
*/
Y.namespace('Plugin');