xzoth / bootstrap-treepanel Goto Github PK
View Code? Open in Web Editor NEWA simple tree view plugin for Bootstrap.
A simple tree view plugin for Bootstrap.
需要改进,支持动态加载子节点数据。
如:
在尚未加载子节点数据之前,可以显示展开图标。
当点击展开图标时,动态加载数据填充子节点。
bool isExpandable(node)
options中添加一个配置,允许配置节点的图标,该配置值支持从数据中根据一定规则来获得。
以满足如下需求:
例如,根据数据中某属性值区间在0-10显示某特定图标,属性值区间在11-20显示另一图标。
bool isExpanded(node)
代码中已经大量使用节点这个概念,但是并未将节点相关的方法从代码中抽取出来。
删除动画延迟完成导致其他方法查询到重复的元素
当出现纵向滚动条,并且页面位置不在顶部时,任何事件导致页面总是滚动到顶部。
如题
添加toggle方法对指定节点展开或者折叠
clean
如题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.