UNPKG

@kahi-ui/framework

Version:

Straight-forward Svelte UI for the Web

8 lines (7 loc) 540 B
export declare function can_focus(element: Element): boolean; export declare function is_hidden(element: Element): boolean; export declare function query_focusable_element<T extends Element>(element: Document | Element, options?: { last?: boolean; }): T | null; export declare function query_focusable_elements<T extends Element>(element: Document | Element): T[]; export declare function scroll_into_container(target: HTMLElement | string, position?: "center" | "end" | "start", behavior?: ScrollBehavior, parent?: HTMLElement): void;