@melt-ui/svelte
Version:

8 lines (7 loc) • 333 B
TypeScript
export declare function focus(element: unknown): void;
/**
* Returns a list of nodes that can be in the tab sequence.
* @see: https://developer.mozilla.org/en-US/docs/Web/API/TreeWalker
*/
export declare function getTabbableNodes(container: HTMLElement): HTMLElement[];
export declare function isHidden(el: HTMLElement): boolean;