fluid.actions

Definitions for common tree actions; This is the Fluid tree equivalent to std.algorithm.

Members

Classes

FocusRecurseAction
class FocusRecurseAction
Undocumented in source.
FocusSearchAction
class FocusSearchAction
Undocumented in source.
NextFrameAction
class NextFrameAction
Undocumented in source.
NodeSearchAction
class NodeSearchAction

Abstract class for tree actions that find and return a node.

ScrollIntoViewAction
class ScrollIntoViewAction
Undocumented in source.

Functions

focusChild
FocusRecurseAction focusChild(Node parent)

Set focus on the first of the node's focusable children. This will be done lazily during the next draw.

focusRecurse
FocusRecurseAction focusRecurse(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.

focusRecurseChildren
FocusRecurseAction focusRecurseChildren(Node parent)

Set focus on the first of the node's focusable children. This will be done lazily during the next draw.

nextFrame
NextFrameAction nextFrame(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 during beforeTree.

scrollIntoView
ScrollIntoViewAction scrollIntoView(Node node, bool alignToTop)

Scroll so the given node becomes visible.

scrollToTop
ScrollIntoViewAction scrollToTop(Node node)

Scroll so that the given node appears at the top, if possible.

Meta