You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to pass a field node.collapsed to load a specific node with its children collapsed. This way, for nodes with a ton of children, we can save some screen space. It looks like v-bind:collapsed="node.data._collapsed" and onClickNode() is responsible for setting node.data._collapsed and node.data.children to null. I'm thinking that I could initialize node.data._collapsed and node.data.children for nodes that I want collapsed to begin with. My question is, is there a function where it would make sense to add it?
The text was updated successfully, but these errors were encountered:
I would like to pass a field
node.collapsed
to load a specific node with its children collapsed. This way, for nodes with a ton of children, we can save some screen space. It looks likev-bind:collapsed="node.data._collapsed"
andonClickNode()
is responsible for settingnode.data._collapsed
andnode.data.children
tonull
. I'm thinking that I could initializenode.data._collapsed
andnode.data.children
for nodes that I want collapsed to begin with. My question is, is there a function where it would make sense to add it?The text was updated successfully, but these errors were encountered: