- import type { ObjectDirective } from 'vue';
- export declare const FOCUSABLE_CHILDREN = "_trap-focus-children";
- export declare const TRAP_FOCUS_HANDLER = "_trap-focus-handler";
- export interface TrapFocusElement extends HTMLElement {
- [FOCUSABLE_CHILDREN]: HTMLElement[];
- [TRAP_FOCUS_HANDLER]: (e: KeyboardEvent) => void;
- }
- declare const TrapFocus: ObjectDirective;
- export default TrapFocus;
|