@3xpo/svelte-colour-picker
Version:
A highly customizable color picker component library
6 lines (5 loc) • 369 B
TypeScript
export declare const FOCUSABLE_ELEMENTS = "a[href], area[href], input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]";
export declare const trapFocus: (node: HTMLElement) => {
destroy(): void;
};
export type Trap = ReturnType<typeof trapFocus>;