UNPKG

386 BTypeScriptView Raw
1/**
2 * The main functionality of the focus-lock package
3 *
4 * given top node(s) and the last active element returns the element to be focused next
5 * @returns element which should be focused to move focus inside
6 * @param topNode
7 * @param lastNode
8 */
9export declare const focusMerge: (topNode: Element | Element[], lastNode: Element | null) => undefined | {
10 node: HTMLElement;
11};