提交 2be419c8 编写于 作者: Z zTreeAPI

* update TypeScript type definition Thanks @bseddon

上级 85a182c0
jQuery Tree Plugin ---- zTree
============
last verson : 3.5.43
last verson : 3.5.44
**Donate to zTree** : http://www.treejs.cn/v3/donate.php
......
......@@ -35,7 +35,7 @@
<div class="ieSuggest">浏览本网站建议您使用 Chrome、FireFox、Opera、IE9 等浏览器(只要不是 IE6 7 8 就行), 速度会更快,画面会更炫!</div>
<div class="google_plus"><g:plusone></g:plusone></div>
<div class="header-text">
<h1><em>zTree v3.5.43 API 文档</em></h1><p></p>
<h1><em>zTree v3.5.44 API 文档</em></h1><p></p>
<p>all.js = core + excheck + exedit ( 不包括 exhide ); 发现错误请及时通知,谢谢。</p>
</div>
<ul class="shortcuts language" style="top:0;">
......
......@@ -34,7 +34,7 @@
<div class="ieSuggest">If you use the Chrome / FireFox / Opera / IE9 browser will be even more dazzling effect!</div>
<div class="google_plus"><g:plusone></g:plusone></div>
<div class="header-text">
<h1><em>zTree v3.5.43 API Document</em></h1><p></p>
<h1><em>zTree v3.5.44 API Document</em></h1><p></p>
<p>all.js = core + excheck + exedit ( without exhide ); if you found some mistakes please contact me.</p>
</div>
<ul class="shortcuts language" style="top:0;">
......
......@@ -47,6 +47,14 @@ type ApplicationType = 'application/x-www-form-urlencoded' | 'application/json';
type AjaxType = 'get' | 'post';
type DataType = 'text' | 'json' | 'jsonp' | 'html' | 'xml' | 'script';
/**
* Defines a class to be returned by the zTree view.nodeClasses function
*/
interface INodeClasses
{
add: string[];
remove: string[];
}
interface IAsync {
autoParam?: string[];
......@@ -167,6 +175,7 @@ interface IView {
dblClickExpand?: boolean | dblClickExpandFn<boolean>;
expandSpeed?: string | number;
fontCss?: IJSON | dblClickExpandFn<IJSON>;
nodeClasses?: INodeClasses | dblClickExpandFn<INodeClasses>;
nameIsHTML?: boolean;
removeHoverDom?: dblClickExpandFn<void>;
selectedMulti?: boolean;
......
/*
* JQuery zTree core
* v3.5.43
* v3.5.44
* http://treejs.cn/
*
* Copyright (c) 2010 Hunter.z
......@@ -8,7 +8,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
* Date: 2020-04-04
* Date: 2020-04-29
*/
(function ($) {
......@@ -2006,7 +2006,7 @@
})(jQuery);
/*
* JQuery zTree excheck
* v3.5.43
* v3.5.44
* http://treejs.cn/
*
* Copyright (c) 2010 Hunter.z
......@@ -2014,7 +2014,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
* Date: 2020-04-04
* Date: 2020-04-29
*/
(function ($) {
......@@ -2658,7 +2658,7 @@
})(jQuery);
/*
* JQuery zTree exedit
* v3.5.43
* v3.5.44
* http://treejs.cn/
*
* Copyright (c) 2010 Hunter.z
......@@ -2666,7 +2666,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
* Date: 2020-04-04
* Date: 2020-04-29
*/
(function ($) {
......
/*
* JQuery zTree core
* v3.5.43
* v3.5.44
* http://treejs.cn/
*
* Copyright (c) 2010 Hunter.z
......@@ -8,7 +8,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
* Date: 2020-04-04
* Date: 2020-04-29
*/
(function ($) {
......
/*
* JQuery zTree excheck
* v3.5.43
* v3.5.44
* http://treejs.cn/
*
* Copyright (c) 2010 Hunter.z
......@@ -8,7 +8,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
* Date: 2020-04-04
* Date: 2020-04-29
*/
(function ($) {
......
/*
* JQuery zTree exedit
* v3.5.43
* v3.5.44
* http://treejs.cn/
*
* Copyright (c) 2010 Hunter.z
......@@ -8,7 +8,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
* Date: 2020-04-04
* Date: 2020-04-29
*/
(function ($) {
......
/*
* JQuery zTree exHideNodes
* v3.5.43
* v3.5.44
* http://treejs.cn/
*
* Copyright (c) 2010 Hunter.z
......@@ -8,7 +8,7 @@
* Licensed same as jquery - MIT License
* http://www.opensource.org/licenses/mit-license.php
*
* Date: 2020-04-04
* Date: 2020-04-29
*/
(function ($) {
......
......@@ -13,7 +13,9 @@
</font>
*2020.04.29* v3.5.44
* update TypeScript type definition Thanks @bseddon
*2020.04.04* v3.5.43
* fixed TypeScript type definition Thanks @UtillYou
* Update demo 'super/keyboard_navigation.html' Thanks @bseddon
......
{
"name": "@ztree/ztree_v3",
"description": "zTree is a multi-functional 'tree plug-ins.' based on jQuery. The main advantages of zTree includes excellent performance, flexible configuration, and the combination of multiple functions.",
"version": "3.5.43",
"version": "3.5.44",
"homepage": "http://www.treejs.cn/v3/main.php",
"author": "zTree (https://github.com/zTree)",
"licenses": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册