From 6f01a8756fe38c0d6565c369005142adda4b9b57 Mon Sep 17 00:00:00 2001 From: “shentao” Date: Thu, 26 Jan 2017 16:19:00 +0800 Subject: rebuild GUI structure(only changed modules' name) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-id : CLIENT-14 Change-Id: Ie4fa30f1a51393576fbdc68e12d810565cbf06eb Signed-off-by: “shentao” --- .../api/cn/setting.callback.beforeMouseDown.html | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html (limited to 'portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html') diff --git a/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html b/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html deleted file mode 100644 index c42712ab..00000000 --- a/portal-common/src/main/webapp/common/thirdparty/zTree/api/cn/setting.callback.beforeMouseDown.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
-

Function(treeId, treeNode)setting.callback.beforeMouseDown

-

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

-
-

-
-

用于捕获 zTree 上鼠标按键按下之前的事件回调函数,并且根据返回值确定触发 onMouseDown 事件回调函数

-

默认值:null

-
-
-

Function 参数说明

-
-

treeIdString

-

对应 zTree 的 treeId,便于用户操控

-

treeNodeJSON

-

鼠标按键按下时所在节点的 JSON 数据对象

-

如果不在节点上,则返回 null

-

返回值Boolean

-

返回值是 true / false

-

如果返回 false,将仅仅无法触发 onMouseDown 事件回调函数,对其他操作无任何影响

-
-

setting & function 举例

-

1. 禁止 onMouseDown 事件

-
function zTreeBeforeMouseDown(treeId, treeNode) {
-    return false;
-};
-var setting = {
-	callback: {
-		beforeMouseDown: zTreeBeforeMouseDown
-	}
-};
-......
-
-
\ No newline at end of file -- cgit 1.2.3-korg