noprompt / ankha

A data inspection component for Om
Eclipse Public License 1.0
132 stars 12 forks source link

An option to have the tree folded by default #18

Closed asok closed 10 years ago

asok commented 10 years ago

Hi, many thanks for this great peace of code. Would you consider adding an option to have the tree closed by default? So the user would only see the top level keys of the state. And he/she could drill down manually for a specific key. I'm asking because my state have grown a lot and actually when I try to inspect it my Chrome crashes ;/

noprompt commented 10 years ago

Yes, that's certainly possible. I've often wanted this as well but simply haven't gotten around to making it happen yet. It should be fairly simple though. A pull request is definitely welcome.

asok commented 10 years ago

Provided by #19