focusPrevious

Focus next or previous focusable node relative to the point of reference. This function only works with nodes compatible with the new I/O system introduced in Fluid 0.7.2.

  1. OrderedFocusAction focusPrevious(Node node, bool wrap)
  2. OrderedFocusAction focusPrevious(Node node, Node branch, bool wrap)
    @safe
    focusPrevious
    (,,
    bool wrap = true
    )

Parameters

node Node

Node to use for reference.

branch Node

Branch to search. Nodes that are not children of this node will not be matched. Default to the whole tree.

wrap bool

If true, if no node remains to focus, focus the first or last node found.

Meta