没有合适的资源?快使用搜索试试~ 我知道了~
tree-manager
共31个文件
js:9个
css:5个
png:5个
需积分: 10 0 下载量 105 浏览量
2021-06-11
20:47:02
上传
评论
收藏 169KB ZIP 举报
温馨提示
树管家 用于 jstree 库的 nodejs 连接器。 要运行示例,请转到example文件夹,运行npm install并将浏览器指向localhost:5000 。 初始化 var TreeManager = require ( '../lib/treemanager' ) ; var rootDir = __dirname + '/test_dir_root' ; var treeManager = new TreeManager ( rootDir ) ; 在实例化模块时设置根路径。 您可以通过使用路径作为参数调用treeManager.setRoot(path)来动态更改根目录。 方法 walkDir 递归地走下根文件夹。 例子: treeManager . walkDir ( rootDir , function ( err , tree ) { cons
资源推荐
资源详情
资源评论
收起资源包目录
tree-manager-master.zip (31个子文件)
tree-manager-master
lib
treemanager.js 5KB
example
public
index.html 437B
jquery.min.map 125KB
tree.css 2KB
jstree.min.js 115KB
jquery.min.js 82KB
app.js 4KB
themes
default
throbber.gif 2KB
style.min.css 25KB
file_sprite.png 19KB
40px.png 2KB
32px.png 3KB
style.css 29KB
default-dark
throbber.gif 2KB
style.min.css 27KB
40px.png 6KB
32px.png 2KB
style.css 32KB
root_dir
root
first
notes_2.txt 20B
notes.txt 18B
index.js 2KB
package.json 139B
test
test_dir
one.js 11B
two.js 11B
second_dir
three.js 13B
test.js 5KB
mocha.opts 38B
README.md 3KB
Makefile 54B
.gitignore 37B
package.json 711B
共 31 条
- 1
资源评论
愍蟊朙
- 粉丝: 21
- 资源: 4709
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功