You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
502 B
TypeScript
12 lines
502 B
TypeScript
import { ObjectDirective } from "vue";
|
|
|
|
//#region ../../packages/directives/trap-focus/index.d.ts
|
|
declare const FOCUSABLE_CHILDREN = "_trap-focus-children";
|
|
declare const TRAP_FOCUS_HANDLER = "_trap-focus-handler";
|
|
interface TrapFocusElement extends HTMLElement {
|
|
[FOCUSABLE_CHILDREN]: HTMLElement[];
|
|
[TRAP_FOCUS_HANDLER]: (e: KeyboardEvent) => void;
|
|
}
|
|
declare const TrapFocus: ObjectDirective;
|
|
//#endregion
|
|
export { FOCUSABLE_CHILDREN, TRAP_FOCUS_HANDLER, TrapFocusElement, TrapFocus as default }; |