📄 ext.tree.treedropzone.html
字号:
<!--Mock<link rel="stylesheet" type="text/css" href="http://localhost/ext/resources/css/ext-all.css" /><link rel="stylesheet" type="text/css" href="http://localhost/ext/doc/resources/docs.css"/><link rel="stylesheet" type="text/css" href="http://localhost/ext/doc/resources/style.css"/>--><style type="text/css"> body { overflow: scroll; } /** .mdesc .long { display: block; } */</style><!-- End Mock--><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><div class="body-wrap"> <div class="top-tools"> <a class="inner-link" href="#Ext.tree.TreeDropZone-props"><img src="/images/s.gif" class="item-icon icon-prop">Properties</a><a class="inner-link" href="#Ext.tree.TreeDropZone-methods"><img src="/images/s.gif" class="item-icon icon-method">Methods</a><a class="inner-link" href="#Ext.tree.TreeDropZone-events"><img src="/images/s.gif" class="item-icon icon-event">Events</a><a class="inner-link" href="#Ext.tree.TreeDropZone-configs"><img src="/images/s.gif" class="item-icon icon-config">Config Options</a><a class="bookmark" href="../docs/?class=Ext.tree.TreeDropZone"><img src="/images/s.gif" class="item-icon icon-fav">Direct Link</a> </div><h1>Class Ext.tree.TreeDropZone</h1> <table cellspacing="0"> <!-- <tr> <td class="label"> Package: </td> <td class="hd-info"> </td> </tr> --> <tr> <td class="label"> Defined In: </td> <td class="hd-info"> TreeDropZone.js </td> </tr> <tr> <td class="label"> Class: </td> <td class="hd-info"> Ext.tree.TreeDropZone </td> </tr> <tr> <td class="label"> Extends: </td> <td class="hd-info"> Ext.dd.DropZone </td> </tr> </table> <div class="description"> </div> <div class="hr"> </div> <a id="Ext.tree.TreeDropZone-configs"></a> <h2>配置项</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2"> 配置项 </th> <th class="msource-header"> 定义者 </th> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="allowParentInsert-header"></a> <b>allowParentInsert</b> : Boolean <div class="mdesc"> <div class="short"> Allow inserting a dragged node betw... </div> <div class="long"> Allow inserting a dragged node between an expanded parent node and its first child that will become a
sibling of the parent when dropped (defaults to false)
</div> </div> </td> <td class="msource"> TreeDropZone </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="allowContainerDrop-header"></a> <b>allowContainerDrop</b> : String <div class="mdesc"> <div class="short"> True if drops on the tree container... </div> <div class="long"> True if drops on the tree container (outside of a specific tree node) are allowed (defaults to false)
</div> </div> </td> <td class="msource"> TreeDropZone </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="appendOnly-header"></a> <b>appendOnly</b> : String <div class="mdesc"> <div class="short"> True if the tree should only allow ... </div> <div class="long"> True if the tree should only allow append drops (use for trees which are sorted, defaults to false)
</div> </div> </td> <td class="msource"> TreeDropZone </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="ddGroup-header"></a> <b>ddGroup</b> : String <div class="mdesc"> <div class="short"> 该对象隶属于组的名称。如果已指定组,那该对象只会与同组下其他拖放成员相... </div> <div class="long"> 该对象隶属于组的名称。如果已指定组,那该对象只会与同组下其他拖放成员相交互(默认为“TreeDD”)。
</div> </div> </td> <td class="msource"> TreeDropZone </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="expandDelay-header"></a> <b>expandDelay</b> : String <div class="mdesc"> <div class="short"> 在拖动到一个可落下的节点时,到目标上方,距离展开树节点 等待的毫秒数。... </div> <div class="long"> 在拖动到一个可落下的节点时,到目标上方,距离展开树节点 等待的毫秒数。(默认为1000)
</div> </div> </td> <td class="msource"> TreeDropZone </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="overClass-header"></a> <b>overClass</b> : String <div class="mdesc"> <div class="short"> 当拖动源到达落下目标上方时的CSS class
</div> <div class="long"> 当拖动源到达落下目标上方时的CSS class
</div> </div> </td> <td class="msource"> <!--如果这不是同个namespace下--> <a ext:cls="Ext.dd.DropTarget" ext:member="#method-overClass" href="output/Ext.dd.DropTarget.html#method-overClass"> DropTarget </a> </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="dropAllowed-header"></a> <b>dropAllowed</b> : String <div class="mdesc"> <div class="short"> 当可以被落下时拖动源的样式(默认为"x-dd-drop-ok")。
</div> <div class="long"> 当可以被落下时拖动源的样式(默认为"x-dd-drop-ok")。
</div> </div> </td> <td class="msource"> <!--如果这不是同个namespace下--> <a ext:cls="Ext.dd.DropTarget" ext:member="#method-dropAllowed" href="output/Ext.dd.DropTarget.html#method-dropAllowed"> DropTarget </a> </td> </tr> <tr class="config-row expandable"> <td class="micon"> <a class="exi" href="#expand"> </a> </td> <td class="sig"> <a id="dropNotAllowed-header"></a> <b>dropNotAllowed</b> : String <div class="mdesc"> <div class="short"> 当不可以被落下时拖动源的样式(默认为"x-dd-drop-nodrop... </div> <div class="long"> 当不可以被落下时拖动源的样式(默认为"x-dd-drop-nodrop")。
</div> </div> </td> <td class="msource">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -