UNPKG

device-navigation

Version:

Navigate HTML elements in two dimensions with non-pointer devices.

11 lines (10 loc) 537 B
import { type CurrentNavEntry } from '../directives/nav-entry.js'; import { type NavTree } from '../nav-tree/nav-tree.js'; import { NavAction, type NavigationResult } from './navigate.js'; /** * Shift focus from the currently focused node to its parent. If there is no parent, or rather if * the parent is the tree root, this returns a failure result. * * @category Internal */ export declare function exitOutOf(navTree: Readonly<NavTree>, currentlyFocused: Readonly<CurrentNavEntry> | undefined): NavigationResult<NavAction.Exit>;