⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ext.dd.dd.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
    </tr>            </table>                <a id="Ext.dd.DD-methods"></a>        <h2>Public Methods</h2>                <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">Method</th>                <th class="msource-header">Defined By</th>            </tr>                <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-DD"></a>            <b>DD</b>(&nbsp;<code>String id</code>, <code>String sGroup</code>, <code>object config</code>&nbsp;)            <div class="mdesc">                        <div class="short"></div>            <div class="long">                    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>id</code> : String<div class="sub-desc">the id of the linked element</div></li><li><code>sGroup</code> : String<div class="sub-desc">the group of related DragDrop items</div></li><li><code>config</code> : object<div class="sub-desc">an object containing configurable attributesValid properties for DD:scroll</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code></code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DD</td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-addInvalidHandleClass"></a>            <b>addInvalidHandleClass</b>(&nbsp;<code>string cssClass</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Lets you specify a css class of elements that will not initiate a drag</div>            <div class="long">                Lets you specify a css class of elements that will not initiate a drag    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the elements you wish to ignore</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleClass" href="output/Ext.dd.DragDrop.html#addInvalidHandleClass">DragDrop</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-addInvalidHandleId"></a>            <b>addInvalidHandleId</b>(&nbsp;<code>string id</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Lets you to specify an element id for a child of a drag handlethat should not initiate a drag</div>            <div class="long">                Lets you to specify an element id for a child of a drag handlethat should not initiate a drag    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>id</code> : string<div class="sub-desc">the element id of the element you wish to ignore</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleId" href="output/Ext.dd.DragDrop.html#addInvalidHandleId">DragDrop</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-addInvalidHandleType"></a>            <b>addInvalidHandleType</b>(&nbsp;<code>string tagName</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Allows you to specify a tag name that should not start a drag operationwhen clicked.  This is designed to facilitate...</div>            <div class="long">                Allows you to specify a tag name that should not start a drag operationwhen clicked.  This is designed to facilitate embedding links within adrag handle that do something other than start the drag.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to exclude</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addInvalidHandleType" href="output/Ext.dd.DragDrop.html#addInvalidHandleType">DragDrop</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-addToGroup"></a>            <b>addToGroup</b>(&nbsp;<code>sGroup {string}</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Add this instance to a group of related drag/drop objects.  Allinstances belong to at least one group, and can belon...</div>            <div class="long">                Add this instance to a group of related drag/drop objects.  Allinstances belong to at least one group, and can belong to as manygroups as needed.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>{string}</code> : sGroup<div class="sub-desc">the name of the group</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#addToGroup" href="output/Ext.dd.DragDrop.html#addToGroup">DragDrop</a></td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-alignElWithMouse"></a>            <b>alignElWithMouse</b>(&nbsp;<code>HTMLElement el</code>, <code>int iPageX</code>, <code>int iPageY</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Sets the element to the location of the mousedown or click event,maintaining the cursor location relative to the loc...</div>            <div class="long">                Sets the element to the location of the mousedown or click event,maintaining the cursor location relative to the location on the elementthat was clicked.  Override this if you want to place the element in alocation other than where the cursor is.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>el</code> : HTMLElement<div class="sub-desc">the element to move</div></li><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the mousedown or drag event</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the mousedown or drag event</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DD</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-applyConfig"></a>            <b>applyConfig</b>() : void            <div class="mdesc">                        <div class="short">Sets up config options specific to this class. OverridesExt.dd.DragDrop, but all versions of this method through the...</div>            <div class="long">                Sets up config options specific to this class. OverridesExt.dd.DragDrop, but all versions of this method through theinheritance chain are called    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DD</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-autoOffset"></a>            <b>autoOffset</b>(&nbsp;<code>int iPageX</code>, <code>int iPageY</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Sets the pointer offset to the distance between the linked element's topleft corner and the location the element was...</div>            <div class="long">                Sets the pointer offset to the distance between the linked element's topleft corner and the location the element was clicked    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the click</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the click</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DD</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-b4Drag"></a>            <b>b4Drag</b>() : void            <div class="mdesc">                        <div class="short">Event that fires prior to the onDrag event.  OverridesExt.dd.DragDrop.</div>            <div class="long">                Event that fires prior to the onDrag event.  OverridesExt.dd.DragDrop.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DD</td>    </tr>        <tr class="method-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-b4MouseDown"></a>            <b>b4MouseDown</b>() : void            <div class="mdesc">                        <div class="short">Event that fires prior to the onMouseDown event.  OverridesExt.dd.DragDrop.</div>            <div class="long">                Event that fires prior to the onMouseDown event.  OverridesExt.dd.DragDrop.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">DD</td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-cachePosition"></a>            <b>cachePosition</b>(&nbsp;<code>iPageX the</code>, <code>iPageY the</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Saves the most recent position so that we can reset the constraints andtick marks on-demand.  We need to know this s...</div>            <div class="long">                Saves the most recent position so that we can reset the constraints andtick marks on-demand.  We need to know this so that we can calculate thenumber of pixels the element is offset from its original position.    <div class="mdetail-params">        <strong>Parameters:</strong>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -