tree-element example

GitHub

Open some folders and select a node, then reload the page: the tree comes back the way you left it. The state is kept in localStorage under the key tree-element-example.

Tree

State

getState()


            

localStorage