setting.edit.drag.autoExpandTrigger.html 897 B

12345678910111213141516171819202122232425262728
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>autoExpandTrigger</h2>
  4. <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.exedit</span> 扩展 js ]</span></h3>
  5. <div class="desc">
  6. <p></p>
  7. <div class="longdesc">
  8. <p>拖拽时父节点自动展开是否触发 onExpand 事件回调函数。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
  9. <p>默认值:false</p>
  10. </div>
  11. </div>
  12. <h3>Boolean 格式说明</h3>
  13. <div class="desc">
  14. <p> true / false 分别表示 触发 / 不触发 onExpand 事件回调函数。</p>
  15. </div>
  16. <h3>setting 举例</h3>
  17. <h4>1. 设置拖拽时父节点自动展开触发 onExpand 事件回调函数</h4>
  18. <pre xmlns=""><code>var setting = {
  19. edit: {
  20. enable: true,
  21. drag: {
  22. autoExpandTrigger: true
  23. }
  24. }
  25. };
  26. ......</code></pre>
  27. </div>
  28. </div>