1 | interface FocusableNode {
|
2 | node: HTMLElement;
|
3 | /**
|
4 | * index in the tab order
|
5 | */
|
6 | index: number;
|
7 | /**
|
8 | * true, if this node belongs to a Lock
|
9 | */
|
10 | lockItem: boolean;
|
11 | /**
|
12 | * true, if this node is a focus-guard (system node)
|
13 | */
|
14 | guard: boolean;
|
15 | }
|
16 | /**
|
17 | * traverses all related nodes (including groups) returning a list of all nodes(outer and internal) with meta information
|
18 | * This is low-level API!
|
19 | * @returns list of focusable elements inside a given top(!) node.
|
20 | * @see {@link getFocusableNodes} providing a simpler API
|
21 | */
|
22 | export declare const expandFocusableNodes: (topNode: HTMLElement | HTMLElement[]) => FocusableNode[];
|
23 | export {};
|