package.dist.util.TabbableElements.d.ts Maven / Gradle / Ivy
/**
* Returns the tabbable elements within the provided HTMLElement.
*
* @public
* @param { HTMLElement } el the component to operate on (component that slots or contains within its shadow root the items the user navigates among)
* @returns { Array } the tabbable elements
*/
declare const getTabbableElements: (el: HTMLElement) => Array;
/**
* Returns the last tabbable element within the provided HTMLElement.
*
* @public
* @param { HTMLElement } el the component to operate on (component that slots or contains within its shadow root the items the user navigates among)
* @returns { HTMLElement | null } the last tabbable element or "null" if not found
*/
declare const getLastTabbableElement: (el: HTMLElement) => HTMLElement | null;
export { getTabbableElements, getLastTabbableElement, };