mirror of
https://github.com/onsonr/nebula.git
synced 2025-03-11 09:49:12 +00:00
10 lines
422 B
TypeScript
10 lines
422 B
TypeScript
![]() |
/**
|
||
|
* Returns the first and last bounding elements that are tabbable. This is more performant than checking every single
|
||
|
* element because it short-circuits after finding the first and last ones.
|
||
|
*/
|
||
|
export declare function getTabbableBoundary(root: HTMLElement | ShadowRoot): {
|
||
|
start: HTMLElement;
|
||
|
end: HTMLElement;
|
||
|
};
|
||
|
export declare function getTabbableElements(root: HTMLElement | ShadowRoot): HTMLElement[];
|