From 33796336d546fa61a3906500ea56d77c960ab222 Mon Sep 17 00:00:00 2001 From: “shentao” Date: Fri, 21 Oct 2016 15:05:13 +0800 Subject: GSO-35 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3ad00c3c9265a1b3818decedca1d77995864ba29 Signed-off-by: “shentao” --- .../zTree/api/cn/treeNode.iconClose.html | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html (limited to 'openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html') diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html new file mode 100644 index 00000000..f51da9c9 --- /dev/null +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/treeNode.iconClose.html @@ -0,0 +1,33 @@ +
+
+

StringtreeNode.iconClose

+

概述[ 依赖 jquery.ztree.core 核心 js ]

+
+

+
+

父节点自定义折叠时图标的 URL 路径。

+

1、此属性只针对父节点有效

+

2、此属性必须与 iconOpen 同时使用

+

3、如果想利用 className 设置个性化图标,需要设置 treeNode.iconSkin 属性

+

默认值:无

+
+
+

String 格式说明

+
+

图标图片的 url 可以是相对路径也可以是绝对路径

+

设置相对路径请注意页面与图片之间的关系,确保图片能够正常加载

+
+

treeNode 举例

+

1. 设置节点的个性化图标

+
var nodes = [
+	//父节点展开 折叠时使用相同的图标
+	{ name:"父节点1", icon:"/img/parent.gif"},
+
+	//父节点展开 折叠时分别使用不同的图标
+	{ name:"父节点2", iconOpen:"/img/open.gif", iconClose:"/img/close.gif"}, 
+
+	//叶子节点个性化图标
+	{ name:"叶子节点", icon:"/img/leaf.gif"}
+]
+
+
\ No newline at end of file -- cgit 1.2.3-korg