setting.view.expandSpeed.html 1021 B

12345678910111213141516171819202122232425262728293031
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>String / Number</span><span class="path">setting.view.</span>expandSpeed</h2>
  4. <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>
  5. <div class="desc">
  6. <p></p>
  7. <div class="longdesc">
  8. <p>The animation speed of expand or collapse node. As same as 'speed' parameter in jQuery</p>
  9. <p class="highlight_red">In order to ensure zTree operating speed, if use the IE6, zTree will not use animation.</p>
  10. <p>Default: "fast"</p>
  11. </div>
  12. </div>
  13. <h3>String Format</h3>
  14. <div class="desc">
  15. <p>e.g. "slow", "normal", or "fast"</p>
  16. <p class="highlight_red">If set to "", zTree will not use animation.</p>
  17. </div>
  18. <h3>Number Format</h3>
  19. <div class="desc">
  20. <p>How long the animation will run. [Unit: ms] (e.g. 1000)</p>
  21. </div>
  22. <h3>Examples of setting</h3>
  23. <h4>1. Set the animation speed to slow</h4>
  24. <pre xmlns=""><code>var setting = {
  25. view: {
  26. expandSpeed: "slow"
  27. }
  28. };
  29. ......</code></pre>
  30. </div>
  31. </div>