/ext-4.0.7/docs/output/Ext.dd.DragZone.js
JavaScript | 1 lines | 1 code | 0 blank | 0 comment | 0 complexity | c97e567fb981b42977d44465f4715834 MD5 | raw file
Large files files are truncated, but you can click here to view the full file
- Ext.data.JsonP.Ext_dd_DragZone({"tagname":"class","html":"<div><pre class=\"hierarchy\"><h4>Hierarchy</h4><div class='subclass first-child'><a href='#!/api/Ext.Base' rel='Ext.Base' class='docClass'>Ext.Base</a><div class='subclass '><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='docClass'>Ext.dd.DragDrop</a><div class='subclass '><a href='#!/api/Ext.dd.DD' rel='Ext.dd.DD' class='docClass'>Ext.dd.DD</a><div class='subclass '><a href='#!/api/Ext.dd.DDProxy' rel='Ext.dd.DDProxy' class='docClass'>Ext.dd.DDProxy</a><div class='subclass '><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='docClass'>Ext.dd.DragSource</a><div class='subclass '><strong>Ext.dd.DragZone</strong></div></div></div></div></div></div><h4>Files</h4><div class='dependency'><a href='source/DragZone.html#Ext-dd-DragZone' target='_blank'>DragZone.js</a></div></pre><div class='doc-contents'><p>This class provides a container DD instance that allows dragging of multiple child source nodes.</p>\n\n\n<p>This class does not move the drag target nodes, but a proxy element which may contain\nany DOM structure you wish. The DOM element to show in the proxy is provided by either a\nprovided implementation of <a href=\"#!/api/Ext.dd.DragZone-method-getDragData\" rel=\"Ext.dd.DragZone-method-getDragData\" class=\"docClass\">getDragData</a>, or by registered draggables registered with <a href=\"#!/api/Ext.dd.Registry\" rel=\"Ext.dd.Registry\" class=\"docClass\">Ext.dd.Registry</a></p>\n\n\n<p>If you wish to provide draggability for an arbitrary number of DOM nodes, each of which represent some\napplication object (For example nodes in a <a href=\"#!/api/Ext.view.View\" rel=\"Ext.view.View\" class=\"docClass\">DataView</a>) then use of this class\nis the most efficient way to \"activate\" those nodes.</p>\n\n\n<p>By default, this class requires that draggable child nodes are registered with <a href=\"#!/api/Ext.dd.Registry\" rel=\"Ext.dd.Registry\" class=\"docClass\">Ext.dd.Registry</a>.\nHowever a simpler way to allow a DragZone to manage any number of draggable elements is to configure\nthe DragZone with an implementation of the <a href=\"#!/api/Ext.dd.DragZone-method-getDragData\" rel=\"Ext.dd.DragZone-method-getDragData\" class=\"docClass\">getDragData</a> method which interrogates the passed\nmouse event to see if it has taken place within an element, or class of elements. This is easily done\nby using the event's <a href=\"#!/api/Ext.EventObject-method-getTarget\" rel=\"Ext.EventObject-method-getTarget\" class=\"docClass\">getTarget</a> method to identify a node based on a\n<a href=\"#!/api/Ext.DomQuery\" rel=\"Ext.DomQuery\" class=\"docClass\">Ext.DomQuery</a> selector. For example, to make the nodes of a DataView draggable, use the following\ntechnique. Knowledge of the use of the DataView is required:</p>\n\n\n<pre><code>myDataView.on('render', function(v) {\n myDataView.dragZone = new Ext.dd.DragZone(v.getEl(), {\n\n// On receipt of a mousedown event, see if it is within a DataView node.\n// Return a drag data object if so.\n getDragData: function(e) {\n\n// Use the DataView's own itemSelector (a mandatory property) to\n// test if the mousedown is within one of the DataView's nodes.\n var sourceEl = e.getTarget(v.itemSelector, 10);\n\n// If the mousedown is within a DataView node, clone the node to produce\n// a ddel element for use by the drag proxy. Also add application data\n// to the returned data object.\n if (sourceEl) {\n d = sourceEl.cloneNode(true);\n d.id = Ext.id();\n return {\n ddel: d,\n sourceEl: sourceEl,\n repairXY: Ext.fly(sourceEl).getXY(),\n sourceStore: v.store,\n draggedRecord: v.<a href=\"#!/api/Ext.view.View-method-getRecord\" rel=\"Ext.view.View-method-getRecord\" class=\"docClass\">getRecord</a>(sourceEl)\n }\n }\n },\n\n// Provide coordinates for the proxy to slide back to on failed drag.\n// This is the original XY coordinates of the draggable element captured\n// in the getDragData method.\n getRepairXY: function() {\n return this.dragData.repairXY;\n }\n });\n});</code></pre>\n\n\n<p>See the <a href=\"#!/api/Ext.dd.DropZone\" rel=\"Ext.dd.DropZone\" class=\"docClass\">DropZone</a> documentation for details about building a DropZone which\ncooperates with this DragZone.</p>\n</div><div class='members'><div id='m-cfg'><div class='definedBy'>Defined By</div><h3 class='members-title'>Config options</h3><div class='subsection'><div id='cfg-animRepair' class='member first-child inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-cfg-animRepair' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-cfg-animRepair' class='name expandable'>animRepair</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>If true, animates the proxy element back to the position of the handle element used to trigger the drag. ...</div><div class='long'><p>If true, animates the proxy element back to the position of the handle element used to trigger the drag.</p>\n<p>Defaults to: <code>true</code></p></div></div></div><div id='cfg-containerScroll' class='member not-inherited'><a href='#' class='side not-expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragZone' rel='Ext.dd.DragZone' class='definedIn docClass'>Ext.dd.DragZone</a><br/><a href='source/DragZone.html#Ext-dd-DragZone-cfg-containerScroll' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragZone-cfg-containerScroll' class='name not-expandable'>containerScroll</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'><p>True to register this container with the Scrollmanager\nfor auto scrolling during drag operations.</p>\n</div><div class='long'><p>True to register this container with the Scrollmanager\nfor auto scrolling during drag operations.</p>\n</div></div></div><div id='cfg-ddGroup' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-cfg-ddGroup' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-cfg-ddGroup' class='name expandable'>ddGroup</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class='description'><div class='short'>A named drag drop group to which this object belongs. ...</div><div class='long'><p>A named drag drop group to which this object belongs. If a group is specified, then this object will only\ninteract with other drag drop objects in the same group.</p>\n</div></div></div><div id='cfg-dropAllowed' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-cfg-dropAllowed' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-cfg-dropAllowed' class='name expandable'>dropAllowed</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class='description'><div class='short'>The CSS class returned to the drag source when drop is allowed. ...</div><div class='long'><p>The CSS class returned to the drag source when drop is allowed.</p>\n<p>Defaults to: <code>"x-dd-drop-ok"</code></p></div></div></div><div id='cfg-dropNotAllowed' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-cfg-dropNotAllowed' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-cfg-dropNotAllowed' class='name expandable'>dropNotAllowed</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class='description'><div class='short'>The CSS class returned to the drag source when drop is not allowed. ...</div><div class='long'><p>The CSS class returned to the drag source when drop is not allowed.</p>\n<p>Defaults to: <code>"x-dd-drop-nodrop"</code></p></div></div></div><div id='cfg-repairHighlightColor' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-cfg-repairHighlightColor' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-cfg-repairHighlightColor' class='name expandable'>repairHighlightColor</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class='description'><div class='short'>The color to use when visually highlighting the drag source in the afterRepair\nmethod after a failed drop (defaults t...</div><div class='long'><p>The color to use when visually highlighting the drag source in the afterRepair\nmethod after a failed drop (defaults to light blue). The color must be a 6 digit hex value, without\na preceding '#'.</p>\n<p>Defaults to: <code>"c3daf9"</code></p></div></div></div></div></div><div id='m-property'><div class='definedBy'>Defined By</div><h3 class='members-title'>Properties</h3><div class='subsection'><div id='property-available' class='member first-child inherited'><a href='#' class='side not-expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-available' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-available' class='name not-expandable'>available</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'><p>The available property is false until the linked dom element is accessible.</p>\n</div><div class='long'><p>The available property is false until the linked dom element is accessible.</p>\n</div></div></div><div id='property-centerFrame' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DDProxy' rel='Ext.dd.DDProxy' class='definedIn docClass'>Ext.dd.DDProxy</a><br/><a href='source/DDProxy.html#Ext-dd-DDProxy-property-centerFrame' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DDProxy-property-centerFrame' class='name expandable'>centerFrame</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>By default the frame is positioned exactly where the drag element is, so\nwe use the cursor offset provided by Ext.dd.DD. ...</div><div class='long'><p>By default the frame is positioned exactly where the drag element is, so\nwe use the cursor offset provided by <a href=\"#!/api/Ext.dd.DD\" rel=\"Ext.dd.DD\" class=\"docClass\">Ext.dd.DD</a>. Another option that works only if\nyou do not have constraints on the obj is to have the drag frame centered\naround the cursor. Set centerFrame to true for this effect.</p>\n</div></div></div><div id='property-config' class='member inherited'><a href='#' class='side not-expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-config' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-config' class='name not-expandable'>config</a><span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span></div><div class='description'><div class='short'><p>Configuration attributes passed into the constructor</p>\n</div><div class='long'><p>Configuration attributes passed into the constructor</p>\n</div></div></div><div id='property-defaultPadding' class='member inherited'><a href='#' class='side not-expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-defaultPadding' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-defaultPadding' class='name not-expandable'>defaultPadding</a><span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span></div><div class='description'><div class='short'><p>Provides default constraint padding to \"constrainTo\" elements.</p>\n</div><div class='long'><p>Provides default constraint padding to \"constrainTo\" elements.</p>\n</div></div></div><div id='property-dragData' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragZone' rel='Ext.dd.DragZone' class='definedIn docClass'>Ext.dd.DragZone</a><br/><a href='source/DragZone.html#Ext-dd-DragZone-property-dragData' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragZone-property-dragData' class='name expandable'>dragData</a><span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span></div><div class='description'><div class='short'>This property contains the data representing the dragged object. ...</div><div class='long'><p>This property contains the data representing the dragged object. This data is set up by the implementation\nof the <a href=\"#!/api/Ext.dd.DragZone-method-getDragData\" rel=\"Ext.dd.DragZone-method-getDragData\" class=\"docClass\">getDragData</a> method. It must contain a <tt>ddel</tt> property, but can contain\nany other data according to the application's needs.</p>\n</div></div></div><div id='property-groups' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-groups' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-groups' class='name expandable'>groups</a><span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span></div><div class='description'><div class='short'>The group defines a logical collection of DragDrop objects that are\nrelated. ...</div><div class='long'><p>The group defines a logical collection of DragDrop objects that are\nrelated. Instances only get events when interacting with other\nDragDrop object in the same group. This lets us define multiple\ngroups using a single DragDrop subclass if we want. An object in the format {'group1':true, 'group2':true}</p>\n</div></div></div><div id='property-hasOuterHandles' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-hasOuterHandles' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-hasOuterHandles' class='name expandable'>hasOuterHandles</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>By default, drags can only be initiated if the mousedown occurs in the\nregion the linked element is. ...</div><div class='long'><p>By default, drags can only be initiated if the mousedown occurs in the\nregion the linked element is. This is done in part to work around a\nbug in some browsers that mis-report the mousedown if the previous\nmouseup happened outside of the window. This property is set to true\nif outer handles are defined. Defaults to false.</p>\n</div></div></div><div id='property-id' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-id' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-id' class='name expandable'>id</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a></span></div><div class='description'><div class='short'>The id of the element associated with this object. ...</div><div class='long'><p>The id of the element associated with this object. This is what we\nrefer to as the \"linked element\" because the size and position of\nthis element is used to determine when the drag and drop objects have\ninteracted.</p>\n</div></div></div><div id='property-ignoreSelf' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-ignoreSelf' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-ignoreSelf' class='name expandable'>ignoreSelf</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>Set to false to enable a DragDrop object to fire drag events while dragging\nover its own Element. ...</div><div class='long'><p>Set to false to enable a DragDrop object to fire drag events while dragging\nover its own Element. Defaults to true - DragDrop objects do not by default\nfire drag events to themselves.</p>\n</div></div></div><div id='property-invalidHandleClasses' class='member inherited'><a href='#' class='side not-expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-invalidHandleClasses' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-invalidHandleClasses' class='name not-expandable'>invalidHandleClasses</a><span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>[]</span></div><div class='description'><div class='short'><p>An Array of CSS class names for elements to be considered in valid as drag handles.</p>\n</div><div class='long'><p>An Array of CSS class names for elements to be considered in valid as drag handles.</p>\n</div></div></div><div id='property-invalidHandleIds' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-invalidHandleIds' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-invalidHandleIds' class='name expandable'>invalidHandleIds</a><span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span></div><div class='description'><div class='short'>An object who's property names identify the IDs of elements to be considered invalid as drag handles. ...</div><div class='long'><p>An object who's property names identify the IDs of elements to be considered invalid as drag handles.\nA non-null property value identifies the ID as invalid. For example, to prevent\ndragging from being initiated on element ID \"foo\", use:</p>\n\n<pre><code>{\n foo: true\n}</code></pre>\n\n</div></div></div><div id='property-invalidHandleTypes' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-invalidHandleTypes' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-invalidHandleTypes' class='name expandable'>invalidHandleTypes</a><span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span></div><div class='description'><div class='short'>An object who's property names identify HTML tags to be considered invalid as drag handles. ...</div><div class='long'><p>An object who's property names identify HTML tags to be considered invalid as drag handles.\nA non-null property value identifies the tag as invalid. Defaults to the\nfollowing value which prevents drag operations from being initiated by <a> elements:</p>\n\n<pre><code>{\n A: \"A\"\n}</code></pre>\n\n</div></div></div><div id='property-isTarget' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-isTarget' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-isTarget' class='name expandable'>isTarget</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>By default, all instances can be a drop target. ...</div><div class='long'><p>By default, all instances can be a drop target. This can be disabled by\nsetting isTarget to false.</p>\n</div></div></div><div id='property-maintainOffset' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-maintainOffset' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-maintainOffset' class='name expandable'>maintainOffset</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>Maintain offsets when we resetconstraints. ...</div><div class='long'><p>Maintain offsets when we resetconstraints. Set to true when you want\nthe position of the element relative to its parent to stay the same\nwhen the page changes</p>\n</div></div></div><div id='property-moveOnly' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-moveOnly' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-moveOnly' class='name expandable'>moveOnly</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>When set to true, other DD objects in cooperating DDGroups do not receive\nnotification events when this DD object is ...</div><div class='long'><p>When set to true, other DD objects in cooperating DDGroups do not receive\nnotification events when this DD object is dragged over them. Defaults to false.</p>\n</div></div></div><div id='property-padding' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-padding' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-padding' class='name expandable'>padding</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a>[]</span></div><div class='description'><div class='short'>The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object. ...</div><div class='long'><p>The padding configured for this drag and drop object for calculating\nthe drop zone intersection with this object.\nAn array containing the 4 padding values: [top, right, bottom, left]</p>\n</div></div></div><div id='property-primaryButtonOnly' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-primaryButtonOnly' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-primaryButtonOnly' class='name expandable'>primaryButtonOnly</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>By default the drag and drop instance will only respond to the primary\nbutton click (left button for a right-handed m...</div><div class='long'><p>By default the drag and drop instance will only respond to the primary\nbutton click (left button for a right-handed mouse). Set to true to\nallow drag and drop to start with any mouse click that is propogated\nby the browser</p>\n</div></div></div><div id='property-resizeFrame' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DDProxy' rel='Ext.dd.DDProxy' class='definedIn docClass'>Ext.dd.DDProxy</a><br/><a href='source/DDProxy.html#Ext-dd-DDProxy-property-resizeFrame' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DDProxy-property-resizeFrame' class='name expandable'>resizeFrame</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>By default we resize the drag frame to be the same size as the element\nwe want to drag (this is to get the frame effe...</div><div class='long'><p>By default we resize the drag frame to be the same size as the element\nwe want to drag (this is to get the frame effect). We can turn it off\nif we want a different behavior.</p>\n</div></div></div><div id='property-scroll' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DD' rel='Ext.dd.DD' class='definedIn docClass'>Ext.dd.DD</a><br/><a href='source/DD.html#Ext-dd-DD-property-scroll' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DD-property-scroll' class='name expandable'>scroll</a><span> : <a href=\"#!/api/Boolean\" rel=\"Boolean\" class=\"docClass\">Boolean</a></span></div><div class='description'><div class='short'>When set to true, the utility automatically tries to scroll the browser\nwindow when a drag and drop element is dragge...</div><div class='long'><p>When set to true, the utility automatically tries to scroll the browser\nwindow when a drag and drop element is dragged near the viewport boundary.\nDefaults to true.</p>\n</div></div></div><div id='property-self' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.Base' rel='Ext.Base' class='definedIn docClass'>Ext.Base</a><br/><a href='source/Base3.html#Ext-Base-property-self' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.Base-property-self' class='name expandable'>self</a><span> : <a href=\"#!/api/Ext.Class\" rel=\"Ext.Class\" class=\"docClass\">Ext.Class</a></span><strong class='protected-signature'>protected</strong></div><div class='description'><div class='short'>Get the reference to the current class from which this object was instantiated. ...</div><div class='long'><p>Get the reference to the current class from which this object was instantiated. Unlike <a href=\"#!/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">statics</a>,\n<code>this.self</code> is scope-dependent and it's meant to be used for dynamic inheritance. See <a href=\"#!/api/Ext.Base-method-statics\" rel=\"Ext.Base-method-statics\" class=\"docClass\">statics</a>\nfor a detailed comparison</p>\n\n<pre><code>Ext.define('My.Cat', {\n statics: {\n speciesName: 'Cat' // My.Cat.speciesName = 'Cat'\n },\n\n constructor: function() {\n alert(this.self.speciesName); / dependent on 'this'\n\n return this;\n },\n\n clone: function() {\n return new this.self();\n }\n});\n\n\nExt.define('My.SnowLeopard', {\n extend: 'My.Cat',\n statics: {\n speciesName: 'Snow Leopard' // My.SnowLeopard.speciesName = 'Snow Leopard'\n }\n});\n\nvar cat = new My.Cat(); // alerts 'Cat'\nvar snowLeopard = new My.SnowLeopard(); // alerts 'Snow Leopard'\n\nvar clone = snowLeopard.clone();\nalert(Ext.getClassName(clone)); // alerts 'My.SnowLeopard'\n</code></pre>\n</div></div></div><div id='property-xTicks' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-xTicks' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-xTicks' class='name expandable'>xTicks</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a>[]</span></div><div class='description'><div class='short'>Array of pixel locations the element will snap to if we specified a\nhorizontal graduation/interval. ...</div><div class='long'><p>Array of pixel locations the element will snap to if we specified a\nhorizontal graduation/interval. This array is generated automatically\nwhen you define a tick interval.</p>\n</div></div></div><div id='property-yTicks' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-property-yTicks' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-property-yTicks' class='name expandable'>yTicks</a><span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a>[]</span></div><div class='description'><div class='short'>Array of pixel locations the element will snap to if we specified a\nvertical graduation/interval. ...</div><div class='long'><p>Array of pixel locations the element will snap to if we specified a\nvertical graduation/interval. This array is generated automatically\nwhen you define a tick interval.</p>\n</div></div></div></div></div><div id='m-method'><h3 class='members-title'>Methods</h3><div class='subsection'><div class='definedBy'>Defined By</div><h4 class='members-subtitle'>Instance Methods</h3><div id='method-constructor' class='member first-child not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragZone' rel='Ext.dd.DragZone' class='definedIn docClass'>Ext.dd.DragZone</a><br/><a href='source/DragZone.html#Ext-dd-DragZone-method-constructor' target='_blank' class='viewSource'>view source</a></div><strong class='constructor-signature'>new</strong><a href='#!/api/Ext.dd.DragZone-method-constructor' class='name expandable'>Ext.dd.DragZone</a>( <span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/HTMLElement/<a href=\"#!/api/Ext.Element\" rel=\"Ext.Element\" class=\"docClass\">Ext.Element</a> el, <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> config</span> ) : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></div><div class='description'><div class='short'>Creates new DragZone. ...</div><div class='long'><p>Creates new DragZone.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a>/HTMLElement/<a href=\"#!/api/Ext.Element\" rel=\"Ext.Element\" class=\"docClass\">Ext.Element</a><div class='sub-desc'><p>The container element or ID of it.</p>\n</div></li><li><span class='pre'>config</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'>\n</div></li></ul><h3 class='pa'>Returns</h3><ul><li><span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a></span><div class='sub-desc'>\n</div></li></ul></div></div></div><div id='method-addInvalidHandleClass' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-method-addInvalidHandleClass' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-method-addInvalidHandleClass' class='name expandable'>addInvalidHandleClass</a>( <span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> cssClass</span> )</div><div class='description'><div class='short'>Lets you specify a css class of elements that will not initiate a drag ...</div><div class='long'><p>Lets you specify a css class of elements that will not initiate a drag</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>cssClass</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>the class of the elements you wish to ignore</p>\n</div></li></ul></div></div></div><div id='method-addInvalidHandleId' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-method-addInvalidHandleId' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-method-addInvalidHandleId' class='name expandable'>addInvalidHandleId</a>( <span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> id</span> )</div><div class='description'><div class='short'>Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag ...</div><div class='long'><p>Lets you to specify an element id for a child of a drag handle\nthat should not initiate a drag</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>id</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>the element id of the element you wish to ignore</p>\n</div></li></ul></div></div></div><div id='method-addInvalidHandleType' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-method-addInvalidHandleType' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-method-addInvalidHandleType' class='name expandable'>addInvalidHandleType</a>( <span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> tagName</span> )</div><div class='description'><div class='short'>Allows you to specify a tag name that should not start a drag operation\nwhen clicked. ...</div><div class='long'><p>Allows you to specify a tag name that should not start a drag operation\nwhen clicked. This is designed to facilitate embedding links within a\ndrag handle that do something other than start the drag.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>tagName</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>the type of element to exclude</p>\n</div></li></ul></div></div></div><div id='method-addToGroup' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragDrop' rel='Ext.dd.DragDrop' class='definedIn docClass'>Ext.dd.DragDrop</a><br/><a href='source/DragDrop.html#Ext-dd-DragDrop-method-addToGroup' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragDrop-method-addToGroup' class='name expandable'>addToGroup</a>( <span class='pre'><a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> sGroup</span> )</div><div class='description'><div class='short'>Adds this instance to a group of related drag/drop objects. ...</div><div class='long'><p>Adds this instance to a group of related drag/drop objects. All\ninstances belong to at least one group, and can belong to as many\ngroups as needed.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>sGroup</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>the name of the group</p>\n</div></li></ul></div></div></div><div id='method-afterDragDrop' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-method-afterDragDrop' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-method-afterDragDrop' class='name expandable'>afterDragDrop</a>( <span class='pre'><a href=\"#!/api/Ext.dd.DragDrop\" rel=\"Ext.dd.DragDrop\" class=\"docClass\">Ext.dd.DragDrop</a> target, Event e, <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> id</span> )</div><div class='description'><div class='short'>An empty function by default, but provided so that you can perform a custom action\nafter a valid drag drop has occurr...</div><div class='long'><p>An empty function by default, but provided so that you can perform a custom action\nafter a valid drag drop has occurred by providing an implementation.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>target</span> : <a href=\"#!/api/Ext.dd.DragDrop\" rel=\"Ext.dd.DragDrop\" class=\"docClass\">Ext.dd.DragDrop</a><div class='sub-desc'><p>The drop target</p>\n</div></li><li><span class='pre'>e</span> : Event<div class='sub-desc'><p>The event object</p>\n</div></li><li><span class='pre'>id</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The id of the dropped element</p>\n</div></li></ul></div></div></div><div id='method-afterDragEnter' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-method-afterDragEnter' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-method-afterDragEnter' class='name expandable'>afterDragEnter</a>( <span class='pre'><a href=\"#!/api/Ext.dd.DragDrop\" rel=\"Ext.dd.DragDrop\" class=\"docClass\">Ext.dd.DragDrop</a> target, Event e, <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> id</span> )</div><div class='description'><div class='short'>An empty function by default, but provided so that you can perform a custom action\nwhen the dragged item enters the d...</div><div class='long'><p>An empty function by default, but provided so that you can perform a custom action\nwhen the dragged item enters the drop target by providing an implementation.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>target</span> : <a href=\"#!/api/Ext.dd.DragDrop\" rel=\"Ext.dd.DragDrop\" class=\"docClass\">Ext.dd.DragDrop</a><div class='sub-desc'><p>The drop target</p>\n</div></li><li><span class='pre'>e</span> : Event<div class='sub-desc'><p>The event object</p>\n</div></li><li><span class='pre'>id</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The id of the dragged element</p>\n</div></li></ul></div></div></div><div id='method-afterDragOut' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-method-afterDragOut' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-method-afterDragOut' class='name expandable'>afterDragOut</a>( <span class='pre'><a href=\"#!/api/Ext.dd.DragDrop\" rel=\"Ext.dd.DragDrop\" class=\"docClass\">Ext.dd.DragDrop</a> target, Event e, <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> id</span> )</div><div class='description'><div class='short'>An empty function by default, but provided so that you can perform a custom action\nafter the dragged item is dragged ...</div><div class='long'><p>An empty function by default, but provided so that you can perform a custom action\nafter the dragged item is dragged out of the target without dropping.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>target</span> : <a href=\"#!/api/Ext.dd.DragDrop\" rel=\"Ext.dd.DragDrop\" class=\"docClass\">Ext.dd.DragDrop</a><div class='sub-desc'><p>The drop target</p>\n</div></li><li><span class='pre'>e</span> : Event<div class='sub-desc'><p>The event object</p>\n</div></li><li><span class='pre'>id</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The id of the dragged element</p>\n</div></li></ul></div></div></div><div id='method-afterDragOver' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-method-afterDragOver' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-method-afterDragOver' class='name expandable'>afterDragOver</a>( <span class='pre'><a href=\"#!/api/Ext.dd.DragDrop\" rel=\"Ext.dd.DragDrop\" class=\"docClass\">Ext.dd.DragDrop</a> target, Event e, <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> id</span> )</div><div class='description'><div class='short'>An empty function by default, but provided so that you can perform a custom action\nwhile the dragged item is over the...</div><div class='long'><p>An empty function by default, but provided so that you can perform a custom action\nwhile the dragged item is over the drop target by providing an implementation.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>target</span> : <a href=\"#!/api/Ext.dd.DragDrop\" rel=\"Ext.dd.DragDrop\" class=\"docClass\">Ext.dd.DragDrop</a><div class='sub-desc'><p>The drop target</p>\n</div></li><li><span class='pre'>e</span> : Event<div class='sub-desc'><p>The event object</p>\n</div></li><li><span class='pre'>id</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The id of the dragged element</p>\n</div></li></ul></div></div></div><div id='method-afterInvalidDrop' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-method-afterInvalidDrop' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-method-afterInvalidDrop' class='name expandable'>afterInvalidDrop</a>( <span class='pre'>Event e, <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> id</span> )</div><div class='description'><div class='short'>An empty function by default, but provided so that you can perform a custom action\nafter an invalid drop has occurred...</div><div class='long'><p>An empty function by default, but provided so that you can perform a custom action\nafter an invalid drop has occurred by providing an implementation.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>e</span> : Event<div class='sub-desc'><p>The event object</p>\n</div></li><li><span class='pre'>id</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The id of the dropped element</p>\n</div></li></ul></div></div></div><div id='method-afterRepair' class='member not-inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragZone' rel='Ext.dd.DragZone' class='definedIn docClass'>Ext.dd.DragZone</a><br/><a href='source/DragZone.html#Ext-dd-DragZone-method-afterRepair' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragZone-method-afterRepair' class='name expandable'>afterRepair</a>( <span class='pre'></span> )</div><div class='description'><div class='short'>Called after a repair of an invalid drop. ...</div><div class='long'><p>Called after a repair of an invalid drop. By default, highlights this.dragData.ddel</p>\n</div></div></div><div id='method-afterValidDrop' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DragSource' rel='Ext.dd.DragSource' class='definedIn docClass'>Ext.dd.DragSource</a><br/><a href='source/DragSource.html#Ext-dd-DragSource-method-afterValidDrop' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DragSource-method-afterValidDrop' class='name expandable'>afterValidDrop</a>( <span class='pre'><a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a> target, Event e, <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a> id</span> )</div><div class='description'><div class='short'>An empty function by default, but provided so that you can perform a custom action\nafter a valid drop has occurred by...</div><div class='long'><p>An empty function by default, but provided so that you can perform a custom action\nafter a valid drop has occurred by providing an implementation.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>target</span> : <a href=\"#!/api/Object\" rel=\"Object\" class=\"docClass\">Object</a><div class='sub-desc'><p>The target DD</p>\n</div></li><li><span class='pre'>e</span> : Event<div class='sub-desc'><p>The event object</p>\n</div></li><li><span class='pre'>id</span> : <a href=\"#!/api/String\" rel=\"String\" class=\"docClass\">String</a><div class='sub-desc'><p>The id of the dropped element</p>\n</div></li></ul></div></div></div><div id='method-alignElWithMouse' class='member inherited'><a href='#' class='side expandable'><span> </span></a><div class='title'><div class='meta'><a href='#!/api/Ext.dd.DD' rel='Ext.dd.DD' class='definedIn docClass'>Ext.dd.DD</a><br/><a href='source/DD.html#Ext-dd-DD-method-alignElWithMouse' target='_blank' class='viewSource'>view source</a></div><a href='#!/api/Ext.dd.DD-method-alignElWithMouse' class='name expandable'>alignElWithMouse</a>( <span class='pre'>HTMLElement el, <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> iPageX, <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a> iPageY</span> )</div><div class='description'><div class='short'>Sets the element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the loc...</div><div class='long'><p>Sets the element to the location of the mousedown or click event,\nmaintaining the cursor location relative to the location on the element\nthat was clicked. Override this if you want to place the element in a\nlocation other than where the cursor is.</p>\n<h3 class=\"pa\">Parameters</h3><ul><li><span class='pre'>el</span> : HTMLElement<div class='sub-desc'><p>the element to move</p>\n</div></li><li><span class='pre'>iPageX</span> : <a href=\"#!/api/Number\" rel=\"Number\" class=\"docClass\">Number</a><div class='sub-desc'><p>the X coordinate of the mousedown or drag event</p>\…
Large files files are truncated, but you can click here to view the full file