chniter / bstreeview

Bootstrap Treeview, A very simple plugin to build a basic and elegant Treeview with bootstrap 4. See the demo:
https://chniter.github.io/bstreeview/
Apache License 2.0
367 stars 53 forks source link

States #22

Open ScotsScripts opened 3 years ago

ScotsScripts commented 3 years ago

How do you recommend automatically opening some of the nodes on page load? I don't see an option for that.

I'm trying to use it for documentation but not quite sure how to get the tree back to the state it was in when someone clicks on a link that opens in the same tab.

Is there a way to remove the "collapsed" css class to force a node open? I see an option to add a class but not to remove one.