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