aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/main/webapp/thirdparty/zTree/api/cn/treeNode.name.html
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/webapp/thirdparty/zTree/api/cn/treeNode.name.html')
-rwxr-xr-xcommon/src/main/webapp/thirdparty/zTree/api/cn/treeNode.name.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/common/src/main/webapp/thirdparty/zTree/api/cn/treeNode.name.html b/common/src/main/webapp/thirdparty/zTree/api/cn/treeNode.name.html
new file mode 100755
index 00000000..918f2b49
--- /dev/null
+++ b/common/src/main/webapp/thirdparty/zTree/api/cn/treeNode.name.html
@@ -0,0 +1,25 @@
+<div class="apiDetail">
+<div>
+ <h2><span>String</span><span class="path">treeNode.</span>name</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>节点名称。</p>
+ <p class="highlight_red">1、如果不使用 name 属性保存节点名称,请修改 setting.data.key.name </p>
+ <p>默认值:无</p>
+ </div>
+ </div>
+ <h3>String 格式说明</h3>
+ <div class="desc">
+ <p>节点显示的名称字符串,标准 String 即可,所有特殊字符都会被自动转义</p>
+ </div>
+ <h3>treeNode 举例</h3>
+ <h4>1. 设置节点的名称为 test1、test2、test3</h4>
+ <pre xmlns=""><code>var nodes = [
+ { "id":1, "name":"test1"},
+ { "id":2, "name":"test2"},
+ { "id":3, "name":"test3"}
+]</code></pre>
+</div>
+</div> \ No newline at end of file