fluid.actions
Definitions for common tree actions; This is the Fluid tree equivalent to std.algorithm.
-
abstract classNodeSearchAction: fluid.tree.TreeAction, event_pipe.Publisher!(Node).Publisher;Abstract class for tree actions that find and return a node. -
@safe FocusRecurseActionfocusRecurse(Node parent);Set focus on the given node, if focusable, or the first of its focusable children. This will be done lazily during the next draw.If focusing the given node is not desired, usefocusRecurseChildren.Parameters
Node parentContainer node to search in. -
@safe FocusRecurseActionfocusRecurseChildren(Node parent); @safe FocusRecurseActionfocusChild(Node parent);Set focus on the first of the node's focusable children. This will be done lazily during the next draw.Parameters
Node parentContainer node to search in. -
@safe ScrollIntoViewActionscrollIntoView(Node node, bool alignToTop = false);Scroll so the given node becomes visible.Parameters
Node nodeNode to scroll to. bool alignToTopIf true, the top of the element will be aligned to the top of the scrollable area. -
@safe ScrollIntoViewActionscrollToTop(Node node);Scroll so that the given node appears at the top, if possible. -
@safe NextFrameActionnextFrame(Node node);Wait for the next frame. This action is a polyfill that can be used in tree action chains to make sure they're added duringbeforeTree.