Files
ppgo_job/static/zTree3/api/cn/treeNode.target.html
2018-07-13 17:53:34 +08:00

24 lines
856 B
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<div class="apiDetail">
<div>
<h2><span>String</span><span class="path">treeNode.</span>target</h2>
<h3>概述<span class="h3_info">[ 依赖 <span class="highlight_green">jquery.ztree.core</span> 核心 js ]</span></h3>
<div class="desc">
<p></p>
<div class="longdesc">
<p>设置点击节点后在何处打开 url<span class="highlight_red">[treeNode.url 存在时有效]</span></p>
<p>默认值</p>
</div>
</div>
<h3>String 格式说明</h3>
<div class="desc">
<p>同超链接 target 属性: "_blank", "_self" 其他指定窗口名称 </p>
<p>省略此属性则默认为 "_blank"</p>
</div>
<h3>treeNode 举例</h3>
<h4>1. 设置点击某节点时弹出新页面</h4>
<pre xmlns=""><code>var nodes = [
{ "id":1, "name":"test1", "url":"http://myTest.com", "target":"_blank"},
......
]</code></pre>
</div>
</div>