Skip to content

Commit

Permalink
Add documentation for expand_tree() method
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Aug 26, 2023
1 parent 9612525 commit 06f081e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/fern-develop.txt
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,11 @@ Following methods are executed asynchronously and return a promise.
Return a promise to expand a node identified by the {key}.
It reloads the node instead when the node has expanded or leaf.

*fern-develop-helper.async.expand_tree()*
.async.expand_tree({key})
Return a promise to recursively expand a node identified by the {key}.
It reloads the node instead when the node is leaf.

*fern-develop-helper.async.collapse_node()*
.async.collapse_node({key})
Return a promise to collapse a node identified by the {key}.
Expand Down

0 comments on commit 06f081e

Please sign in to comment.