1 | export declare const focusOn: (target: Element | HTMLFrameElement | HTMLElement, focusOptions?: FocusOptions | undefined) => void;
|
2 | interface FocusLockFocusOptions {
|
3 | focusOptions?: FocusOptions;
|
4 | }
|
5 | /**
|
6 | * Control focus at a given node.
|
7 | * The last focused element will help to determine which element(first or last) should be focused.
|
8 | *
|
9 | * In principle is nothing more than a wrapper around {@link focusMerge} with autofocus
|
10 | *
|
11 | * HTML markers (see {@link import('./constants').FOCUS_AUTO} constants) can control autofocus
|
12 | */
|
13 | export declare const setFocus: (topNode: HTMLElement, lastNode: Element, options?: FocusLockFocusOptions) => void;
|
14 | export {};
|