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

📄 ext.dd.dd.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
        <strong>Parameters:</strong>        <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the element(s) you wish tore-enable</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="#removeInvalidHandleClass" href="output/Ext.dd.DragDrop.html#removeInvalidHandleClass">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-removeInvalidHandleId"></a>            <b>removeInvalidHandleId</b>(&nbsp;<code>string id</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Unsets an invalid handle id</div>            <div class="long">                Unsets an invalid handle id    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>id</code> : string<div class="sub-desc">the id of the element to re-enable</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="#removeInvalidHandleId" href="output/Ext.dd.DragDrop.html#removeInvalidHandleId">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-removeInvalidHandleType"></a>            <b>removeInvalidHandleType</b>(&nbsp;<code>string tagName</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Unsets an excluded tag name set by addInvalidHandleType</div>            <div class="long">                Unsets an excluded tag name set by addInvalidHandleType    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to unexclude</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="#removeInvalidHandleType" href="output/Ext.dd.DragDrop.html#removeInvalidHandleType">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-resetConstraints"></a>            <b>resetConstraints</b>(&nbsp;<code>boolean maintainOffset</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">resetConstraints must be called if you manually reposition a dd element.</div>            <div class="long">                resetConstraints must be called if you manually reposition a dd element.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>maintainOffset</code> : boolean<div class="sub-desc"></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="#resetConstraints" href="output/Ext.dd.DragDrop.html#resetConstraints">DragDrop</a></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-setDelta"></a>            <b>setDelta</b>(&nbsp;<code>int iDeltaX</code>, <code>int iDeltaY</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Sets the pointer offset.  You can call this directly to force theoffset to be in a particular location (e.g., pass i...</div>            <div class="long">                Sets the pointer offset.  You can call this directly to force theoffset to be in a particular location (e.g., pass in 0,0 to set itto the center of the object)    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>iDeltaX</code> : int<div class="sub-desc">the distance from the left</div></li><li><code>iDeltaY</code> : int<div class="sub-desc">the distance from the top</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 inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-setDragElId"></a>            <b>setDragElId</b>(&nbsp;<code>id {string}</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Allows you to specify that an element other than the linked elementwill be moved with the cursor during a drag</div>            <div class="long">                Allows you to specify that an element other than the linked elementwill be moved with the cursor during a drag    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used to initiate the drag</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="#setDragElId" href="output/Ext.dd.DragDrop.html#setDragElId">DragDrop</a></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-setDragElPos"></a>            <b>setDragElPos</b>(&nbsp;<code>int iPageX</code>, <code>int iPageY</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Sets the drag element to the location of the mousedown or click event,maintaining the cursor location relative to th...</div>            <div class="long">                Sets the drag 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>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 inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-setHandleElId"></a>            <b>setHandleElId</b>(&nbsp;<code>id {string}</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Allows you to specify a child of the linked element that should beused to initiate the drag operation.  An example o...</div>            <div class="long">                Allows you to specify a child of the linked element that should beused to initiate the drag operation.  An example of this would be ifyou have a content div with text and links.  Clicking anywhere in thecontent area would normally start the drag operation.  Use this methodto specify that an element inside of the content div is the elementthat starts the drag operation.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>{string}</code> : id<div class="sub-desc">the id of the element that will be used toinitiate the drag.</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="#setHandleElId" href="output/Ext.dd.DragDrop.html#setHandleElId">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-setInitialPosition"></a>            <b>setInitialPosition</b>(&nbsp;<code>int diffX</code>, <code>int diffY</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Stores the initial placement of the linked element.</div>            <div class="long">                Stores the initial placement of the linked element.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>diffX</code> : int<div class="sub-desc">the X offset, default 0</div></li><li><code>diffY</code> : int<div class="sub-desc">the Y offset, default 0</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="#setInitialPosition" href="output/Ext.dd.DragDrop.html#setInitialPosition">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-setOuterHandleElId"></a>            <b>setOuterHandleElId</b>(&nbsp;<code>id the</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Allows you to set an element outside of the linked element as a draghandle</div>            <div class="long">                Allows you to set an element outside of the linked element as a draghandle    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>the</code> : id<div class="sub-desc">id of the element that will be used to initiate the drag</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="#setOuterHandleElId" href="output/Ext.dd.DragDrop.html#setOuterHandleElId">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-setPadding"></a>            <b>setPadding</b>(&nbsp;<code>int iTop</code>, <code>int iRight</code>, <code>int iBot</code>, <code>int iLeft</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Configures the padding for the target zone in px.  Effectively expands(or reduces) the virtual object size for targe...</div>            <div class="long">                Configures the padding for the target zone in px.  Effectively expands(or reduces) the virtual object size for targeting calculations.Supports css-style shorthand; if only one parameter is passed, all sideswill have that padding, and if only two are passed, the top and bottomwill have the first param, the left and right the second.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>iTop</code> : int<div class="sub-desc">Top pad</div></li><li><code>iRight</code> : int<div class="sub-desc">Right pad</div></li><li><code>iBot</code> : int<div class="sub-desc">Bot pad</div></li><li><code>iLeft</code> : int<div class="sub-desc">Left pad</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="#setPadding" href="output/Ext.dd.DragDrop.html#setPadding">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-setXConstraint"></a

⌨️ 快捷键说明

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