summaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/zTree/api/en/treeNode.target.html
blob: 176a7a358a40590ccac2ab9e4626cd17ac59a461 (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
<div class="apiDetail">
<div>
	<h2><span>String</span><span class="path">treeNode.</span>target</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>Used to set the target where the node is clicked to open url. It is valid when <span class="highlight_red">[treeNode.url exists]</span></p>
			<p>Default: undefined</p>
		</div>
	</div>
	<h3>String Format</h3>
	<div class="desc">
	<p>As same as &lt;a&gt; tag's 'target' attribute. e.g.  '_blank', '_self' or other window name.</p>
	<p>if this attribute is omitted, zTree default set it to '_blank'</p>
	</div>
	<h3>Exmaples of treeNode</h3>
	<h4>1. Set target is '_blank'</h4>
	<pre xmlns=""><code>var nodes = [
	{ "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
	......
]</code></pre>
</div>
</div>