No Description

setting.view.expandSpeed.html 1.0KB

12345678910111213141516171819202122232425262728293031
  1. <div class="apiDetail">
  2. <div>
  3. <h2><span>String / Number</span><span class="path">setting.view.</span>expandSpeed</h2>
  4. <h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
  5. <div class="desc">
  6. <p></p>
  7. <div class="longdesc">
  8. <p>zTree 节点展开、折叠时的动画速度,设置方法同 JQuery 动画效果中 speed 参数。</p>
  9. <p class="highlight_red">IE6 下会自动关闭动画效果,以保证 zTree 的操作速度</p>
  10. <p>默认值:"fast"</p>
  11. </div>
  12. </div>
  13. <h3>String 格式说明</h3>
  14. <div class="desc">
  15. <p>三种预定速度之一的字符串("slow", "normal", or "fast")</p>
  16. <p class="highlight_red">设置为 "" 时,不显示动画效果</p>
  17. </div>
  18. <h3>Number 格式说明</h3>
  19. <div class="desc">
  20. <p>表示动画时长的毫秒数值 (如:1000)</p>
  21. </div>
  22. <h3>setting 举例</h3>
  23. <h4>1. 设置为慢速显示动画效果</h4>
  24. <pre xmlns=""><code>var setting = {
  25. view: {
  26. expandSpeed: "slow"
  27. }
  28. };
  29. ......</code></pre>
  30. </div>
  31. </div>