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

📄 ext.dd.dd.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
        <div class="body-wrap">        <div class="top-tools">            <a class="inner-link" href="#Ext.dd.DD-props"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>            <a class="inner-link" href="#Ext.dd.DD-methods"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-method">Methods</a>            <a class="inner-link" href="#Ext.dd.DD-events"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-event">Events</a>                        <a class="bookmark" href="../docs/?class=Ext.dd.DD"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>        </div>                <div class="inheritance res-block"><pre class="res-block-inner"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a>  <img src="resources/elbow-end.gif"/>DD</pre></div>                <h1>Class Ext.dd.DD</h1>        <table cellspacing="0">            <tr><td class="label">Package:</td><td class="hd-info">Ext.dd</td></tr>            <tr><td class="label">Defined In:</td><td class="hd-info">DDCore.js</td></tr>            <tr><td class="label">Class:</td><td class="hd-info">DD</td></tr>                        <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.dd.DDProxy" href="output/Ext.dd.DDProxy.html">DDProxy</a></td></tr>                                    <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a></td></tr>                    </table>        <div class="description">            A DragDrop implementation where the linked element follows themouse cursor during a drag.        </div>                <div class="hr"></div>                <a id="Ext.dd.DD-props"></a>        <h2>Public Properties</h2>                <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">Property</th>                <th class="msource-header">Defined By</th>            </tr>                <tr class="property-row inherited">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-available"></a>            <b>available</b> : boolean            <div class="mdesc">                            The availabe property is false until the linked dom element is accessible.                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#available" href="output/Ext.dd.DragDrop.html#available">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-config"></a>            <b>config</b> : object            <div class="mdesc">                            Configuration attributes passed into the constructor                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#config" href="output/Ext.dd.DragDrop.html#config">DragDrop</a></td>    </tr>        <tr class="property-row inherited">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-defaultPadding"></a>            <b>defaultPadding</b> : Object            <div class="mdesc">                            Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#defaultPadding" href="output/Ext.dd.DragDrop.html#defaultPadding">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-groups"></a>            <b>groups</b> : object            <div class="mdesc">                        <div class="short">The group defines a logical collection of DragDrop objects that arerelated.  Instances only get events when interact...</div>            <div class="long">                The group defines a logical collection of DragDrop objects that arerelated.  Instances only get events when interacting with otherDragDrop object in the same group.  This lets us define multiplegroups using a single DragDrop subclass if we want.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#groups" href="output/Ext.dd.DragDrop.html#groups">DragDrop</a></td>    </tr>        <tr class="property-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-hasOuterHandles"></a>            <b>hasOuterHandles</b> : boolean            <div class="mdesc">                        <div class="short">By default, drags can only be initiated if the mousedown occurs in theregion the linked element is.  This is done in...</div>            <div class="long">                By default, drags can only be initiated if the mousedown occurs in theregion the linked element is.  This is done in part to work around abug in some browsers that mis-report the mousedown if the previousmouseup happened outside of the window.  This property is set to trueif outer handles are defined.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#hasOuterHandles" href="output/Ext.dd.DragDrop.html#hasOuterHandles">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-id"></a>            <b>id</b> : String            <div class="mdesc">                        <div class="short">The id of the element associated with this object.  This is what werefer to as the "linked element" because the size...</div>            <div class="long">                The id of the element associated with this object.  This is what werefer to as the "linked element" because the size and position ofthis element is used to determine when the drag and drop objects haveinteracted.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#id" href="output/Ext.dd.DragDrop.html#id">DragDrop</a></td>    </tr>        <tr class="property-row inherited">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-invalidHandleClasses"></a>            <b>invalidHandleClasses</b> : Array            <div class="mdesc">                            An Array of CSS class names for elements to be considered in valid as drag handles.                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleClasses" href="output/Ext.dd.DragDrop.html#invalidHandleClasses">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-invalidHandleIds"></a>            <b>invalidHandleIds</b> : Object            <div class="mdesc">                        <div class="short">An object who's property names identify the IDs of elements to be considered invalid as drag handles.A non-null prop...</div>            <div class="long">                An object who's property names identify the IDs of elements to be considered invalid as drag handles.A non-null property value identifies the ID as invalid. For example, to preventdragging from being initiated on element ID "foo", use:<pre><code>{    foo: true}</code></pre>            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleIds" href="output/Ext.dd.DragDrop.html#invalidHandleIds">DragDrop</a></td>    </tr>        <tr class="property-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-invalidHandleTypes"></a>            <b>invalidHandleTypes</b> : Object            <div class="mdesc">                        <div class="short">An object who's property names identify HTML tags to be considered invalid as drag handles.A non-null property value...</div>            <div class="long">                An object who's property names identify HTML tags to be considered invalid as drag handles.A non-null property value identifies the tag as invalid. Defaults to the following value which prevents drag operations from being initiated by &lt;a> elements:<pre><code>{    A: <em>"A"</em>}</code></pre>            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleTypes" href="output/Ext.dd.DragDrop.html#invalidHandleTypes">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-isTarget"></a>            <b>isTarget</b> : boolean            <div class="mdesc">                            By default, all insances can be a drop target.  This can be disabled bysetting isTarget to false.                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isTarget" href="output/Ext.dd.DragDrop.html#isTarget">DragDrop</a></td>    </tr>        <tr class="property-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-maintainOffset"></a>            <b>maintainOffset</b> : boolean            <div class="mdesc">                        <div class="short">Maintain offsets when we resetconstraints.  Set to true when you wantthe position of the element relative to its par...</div>            <div class="long">                Maintain offsets when we resetconstraints.  Set to true when you wantthe position of the element relative to its parent to stay the samewhen the page changes            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#maintainOffset" href="output/Ext.dd.DragDrop.html#maintainOffset">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-padding"></a>            <b>padding</b> : int[]            <div class="mdesc">                            The padding configured for this drag and drop object for calculatingthe drop zone intersection with this object.                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#padding" href="output/Ext.dd.DragDrop.html#padding">DragDrop</a></td>    </tr>        <tr class="property-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-primaryButtonOnly"></a>            <b>primaryButtonOnly</b> : boolean            <div class="mdesc">                        <div class="short">By default the drag and drop instance will only respond to the primarybutton click (left button for a right-handed m...</div>            <div class="long">                By default the drag and drop instance will only respond to the primarybutton click (left button for a right-handed mouse).  Set to true toallow drag and drop to start with any mouse click that is propogatedby the browser            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#primaryButtonOnly" href="output/Ext.dd.DragDrop.html#primaryButtonOnly">DragDrop</a></td>    </tr>        <tr class="property-row alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-scroll"></a>            <b>scroll</b> : boolean            <div class="mdesc">                        <div class="short">When set to true, the utility automatically tries to scroll the browserwindow when a drag and drop element is dragge...</div>            <div class="long">                When set to true, the utility automatically tries to scroll the browserwindow when a drag and drop element is dragged near the viewport boundary.Defaults to true.            </div>                        </div>        </td>        <td class="msource">DD</td>    </tr>        <tr class="property-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-xTicks"></a>            <b>xTicks</b> : int[]            <div class="mdesc">                        <div class="short">Array of pixel locations the element will snap to if we specified ahorizontal graduation/interval.  This array is ge...</div>            <div class="long">                Array of pixel locations the element will snap to if we specified ahorizontal graduation/interval.  This array is generated automaticallywhen you define a tick interval.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#xTicks" href="output/Ext.dd.DragDrop.html#xTicks">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.dd.DD-yTicks"></a>            <b>yTicks</b> : int[]            <div class="mdesc">                        <div class="short">Array of pixel locations the element will snap to if we specified avertical graduation/interval.  This array is gene...</div>            <div class="long">                Array of pixel locations the element will snap to if we specified avertical graduation/interval.  This array is generated automaticallywhen you define a tick interval.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#yTicks" href="output/Ext.dd.DragDrop.html#yTicks">DragDrop</a></td>

⌨️ 快捷键说明

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