This property allows for more lazy loading of nodes.
When a node becomes visible, we normally build it's children nodes
so that we know if we need an expansion arrow. However, that can
be expensive when rendering directories with lots of subdirectories.
Using this, you can always show an arrow without building the children
and simply hide the arrow if there were in fact no children (upon
expansion).
This property allows for more lazy loading of nodes.
When a node becomes visible, we normally build it's children nodes so that we know if we need an expansion arrow. However, that can be expensive when rendering directories with lots of subdirectories.
Using this, you can always show an arrow without building the children and simply hide the arrow if there were in fact no children (upon expansion).