X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/ComponentDragger.html diff --git a/docs/source/ComponentDragger.html b/docs/source/ComponentDragger.html index 1a60df06..423cde90 100644 --- a/docs/source/ComponentDragger.html +++ b/docs/source/ComponentDragger.html @@ -15,17 +15,14 @@
-/** - * @class Ext.util.ComponentDragger +/** + * @class Ext.util.ComponentDragger * @extends Ext.dd.DragTracker * <p>A subclass of Ext.dd.DragTracker which handles dragging any Component.</p> * <p>This is configured with a Component to be made draggable, and a config object for the * {@link Ext.dd.DragTracker} class.</p> * <p>A {@link #} delegate may be provided which may be either the element to use as the mousedown target * or a {@link Ext.DomQuery} selector to activate multiple mousedown targets.</p> - * @constructor Create a new ComponentTracker - * @param {object} comp The Component to provide dragging for. - * @param {object} config The config object */ Ext.define('Ext.util.ComponentDragger', { @@ -43,13 +40,18 @@ Ext.define('Ext.util.ComponentDragger', { /** * @cfg {Boolean} constrainDelegate - * Specify as <code>true</code> to constrain the drag handles within the {@link constrainTo} region. + * Specify as <code>true</code> to constrain the drag handles within the {@link #constrainTo} region. */ extend: 'Ext.dd.DragTracker', autoStart: 500, + /** + * Creates new ComponentDragger. + * @param {object} comp The Component to provide dragging for. + * @param {object} config (optional) Config object + */ constructor: function(comp, config) { this.comp = comp; this.initialConstrainTo = config.constrainTo;