Home > @uniformdev/canvas > evaluateWalkTreeNodeVisibility
evaluateWalkTreeNodeVisibility() function
Function to call to evaluate visibility rules when traversing the node tree with walkNodeTree.
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| { rules, showIndeterminate, rootNodeInvisibleHandling, context, } | EvaluateNodeTreeVisibilityOptions |
Returns:
boolean
true if the node is visible (or processing was skipped e.g. for blocks or entries that don't have visibility control), false if the node was removed and you should stop any other code handling for it.