Skip to content

v1.12.1

Compare
Choose a tag to compare
@cheton cheton released this 29 Jul 02:12
· 84 commits to master since this release

Defines the behavior for:

tree.filter(predicate, options)

Invalid predicate

Only a string or a function is accepted for the predicate parameter. For example, tree.filter(), tree.filter(null), tree.filter(0), or tree.filter({}) will render nothing.

Empty string

Calling tree.filter('') will filter all nodes in the tree.