Focus the first (focusFirst), or the last node (focusLast) that exists inside the focus space.
Tree action that switches focus to the first, or the last node. You can use .then on the returned action to run a callback the moment the focus switches.
See Implementation
Focus the first (focusFirst), or the last node (focusLast) that exists inside the focus space.