fluid.actions

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

Members

Classes

FocusRecurseAction
class FocusRecurseAction
Undocumented in source.
ScrollIntoViewAction
class ScrollIntoViewAction
Undocumented in source.

Functions

focusChild
FocusRecurseAction focusChild(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 calling focusRecurseChildren, the subject of the call will be excluded from taking focus.

focusRecurse
FocusRecurseAction focusRecurse(Node parent)
focusRecurseChildren
FocusRecurseAction focusRecurseChildren(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 calling focusRecurseChildren, the subject of the call will be excluded from taking focus.

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