You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
zsmj 958236bd15 update 2 years ago
.idea first commit 2 years ago
src update 2 years ago
.babelrc first commit 2 years ago
.gitignore first commit 2 years ago
.npmrc first commit 2 years ago
README.md update 2 years ago
index.html first commit 2 years ago
package.json first commit 2 years ago
webpack.config.js first commit 2 years ago

README.md

🚀 Welcome to your new awesome project!

这些组件你都看过没有?

BI.BasicButton BI.NodeButton BI.Expander BI.Loader Events

最普通的树

没啥可说的

父节点可选中的树

expander和手动触发事件

异步分层加载到树

loader的原理

抛事件

事件原理

坑点

chooseType: 0 强烈建议,手动控制选中

因为除了node和item之外还有expander,所以node和item之间并不存在关联. 比如说你想隐藏node后所有子item都隐藏,无法通过简单的对node隐藏实现

坑爹的辅助线:其实解决这个线的问题很简单, ztree也有线啊. 不过有一个明显差异点不知道大家注意到没有: zTree的树,list-item-active效果是仅限于文字的. 而fineui的树要求横贯整个宽度.

性能

自定义loader