WithFocus.currentFocus

Note: Currently focused node may have blocksInput set to true; take care to check it before calling input handling methods.

  1. inout(Focusable) currentFocus()
    interface WithFocus
    inout nothrow
    inout(Focusable)
    currentFocus
    ()
  2. Focusable currentFocus(Focusable newValue)

Return Value

Type: inout(Focusable)

The currently focused node, or null if no node has focus at the moment.

Meta