Releases: cheton/flattree
Releases · cheton/flattree
v0.6.2
Consistent Naming:
- Renamed
Node.getChildNodes
to Node.getChildren
- Renamed
Node.hasChildNodes
to Node.hasChildren
v0.6.1
New API
- Added
Node.getChildNodes
- Added
Node.hasChildNodes
v0.6.0
- The flatten function will return an array of Node objects.
- IE8 compatibility output
v0.5.5
[Bug fixes] Push the node to flatten list only if all of its parent nodes have the open state set to true
v0.5.2
Add support for storing extra information to node.state
v0.5.1
Now the openNodes
option can be an array containing node objects.
v0.5.0
- Renamed
node.state.last
to node.state.lastChild
- Rebuild lastChild pool and
node.state.total
through all the ancestors
- Add
throwOnError
option
v0.4.0
Inherit the top-level parent node and reuse the state of all child nodes