setting.edit.drag.minMoveSize.html 866 B

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