Skip to content

Releases: cheton/flattree

v0.6.2

03 Apr 03:02
Compare
Choose a tag to compare

Consistent Naming:

  • Renamed Node.getChildNodes to Node.getChildren
  • Renamed Node.hasChildNodes to Node.hasChildren

v0.6.1

02 Apr 17:45
Compare
Choose a tag to compare

New API

  • Added Node.getChildNodes
  • Added Node.hasChildNodes

v0.6.0

02 Apr 17:25
Compare
Choose a tag to compare
  • The flatten function will return an array of Node objects.
  • IE8 compatibility output

v0.5.5

01 Apr 12:03
Compare
Choose a tag to compare

[Bug fixes] Push the node to flatten list only if all of its parent nodes have the open state set to true

v0.5.4

30 Mar 15:57
Compare
Choose a tag to compare

Update README.md

v0.5.3

30 Mar 03:57
Compare
Choose a tag to compare

Update README.md

v0.5.2

29 Mar 03:06
Compare
Choose a tag to compare

Add support for storing extra information to node.state

v0.5.1

28 Mar 16:27
Compare
Choose a tag to compare

Now the openNodes option can be an array containing node objects.

v0.5.0

28 Mar 08:59
Compare
Choose a tag to compare
  • 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

27 Mar 16:11
Compare
Choose a tag to compare

Inherit the top-level parent node and reuse the state of all child nodes