No Description

setting.edit.drag.minMoveSize.html 828B

12345678910111213141516171819202122232425
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>Number</span><span class="path">setting.edit.drag.</span>minMoveSize</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>判定是否拖拽操作的最小位移值 (单位:px)。<span class="highlight_red">[setting.edit.enable = true 时生效]</span></p>
  9. <p class="highlight_red">根据自己的需求可适当调整此值,如果太小容易导致点击鼠标时误操作进行拖拽</p>
  10. <p>默认值:5</p>
  11. </div>
  12. </div>
  13. <h3>setting 举例</h3>
  14. <h4>1. 更改拖拽操作启动位移值为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>