setting.edit.drag.minMoveSize.html 1.0 KB

12345678910111213141516171819202122232425262728
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Number</span><span class="path">setting.edit.drag.</span>minMoveSize</h2>
  4. <h3>Overview<span class="h3_info">[ depends on <span
  5. class="highlight_green">jquery.ztree.exedit</span> js ]</span></h3>
  6. <div class="desc">
  7. <p></p>
  8. <div class="longdesc">
  9. <p>The minimum offset which used to determine the drag operator start. (Unit: px) It is valid when <span
  10. class="highlight_red">[setting.edit.enable = true]</span></p>
  11. <p class="highlight_red">Please adjust the value according to needs. Note: If it is too small, will
  12. easily lead to misoperation when you click mouse.</p>
  13. <p>Default: 5</p>
  14. </div>
  15. </div>
  16. <h3>Examples of setting</h3>
  17. <h4>1. Set the minimum offset is 10px.</h4>
  18. <pre xmlns=""><code>var setting = {
  19. edit: {
  20. enable: true,
  21. drag: {
  22. minMoveSize: 10
  23. }
  24. }
  25. };
  26. ......</code></pre>
  27. </div>
  28. </div>