device-navigation
Version:
Navigate HTML elements in two dimensions with non-pointer devices.
11 lines (10 loc) • 499 B
TypeScript
import { type CurrentNavEntry } from '../directives/nav-entry.js';
import { type NavTree } from '../nav-tree/nav-tree.js';
import { NavAction, type NavigationResult } from './navigate.js';
/**
* Enter into the currently focused node's children. Focuses the first child. Fails if there are no
* children to focus.
*
* @category Internal
*/
export declare function enterInto(navTree: Readonly<NavTree>, currentlyFocused: Readonly<CurrentNavEntry> | undefined): NavigationResult<NavAction.Enter>;