You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
396 B
10 lines
396 B
1 month ago
|
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;
|