setting.edit.drag.autoExpandTrigger.html 954 B

1234567891011121314151617181920212223242526272829
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Boolean</span><span class="path">setting.edit.drag.</span>autoExpandTrigger</h2>
  4. <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
  5. <div class="desc">
  6. <p></p>
  7. <div class="longdesc">
  8. <p>When drag node cause the parent node is automatically expanded, set whether to allow to trigger the 'onExpand' callback. It is valid when <span class="highlight_red">[setting.edit.enable = true]</span></p>
  9. <p>Default: false</p>
  10. </div>
  11. </div>
  12. <h3>Boolean Format</h3>
  13. <div class="desc">
  14. <p> true means: trigger the 'onExpand' callback.</p>
  15. <p> false means: don't trigger the 'onExpand' callback.</p>
  16. </div>
  17. <h3>Examples of setting</h3>
  18. <h4>1. Set to allow to trigger the 'onExpand' callback</h4>
  19. <pre xmlns=""><code>var setting = {
  20. edit: {
  21. enable: true,
  22. drag: {
  23. autoExpandTrigger: true
  24. }
  25. }
  26. };
  27. ......</code></pre>
  28. </div>
  29. </div>