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

25 lines
1020 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>url</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</p>
<p class="highlight_red">1编辑模式 (setting.edit.enable = true) 下此属性功能失效如果必须使用类似功能请利用 onClick 事件回调函数自行控制</p>
<p class="highlight_red">2如果需要在 onClick 事件回调函数中进行跳转控制那么请将 URL 地址保存在其他自定义的属性内请勿使用 url</p>
<p>默认值</p>
</div>
</div>
<h3>String 格式说明</h3>
<div class="desc">
<p>同超链接 href 属性</p>
</div>
<h3>treeNode 举例</h3>
<h4>1. 设置某节点点击时跳转到 g.cn</h4>
<pre xmlns=""><code>var nodes = [
{ "id":1, "name":"Google CN", "url":"http://g.cn"},
......
]</code></pre>
</div>
</div>