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.
9 lines
506 B
9 lines
506 B
11 months ago
|
import type { HTMLAttributes } from 'vue';
|
||
|
declare type Orientation = HTMLAttributes['aria-orientation'];
|
||
|
declare type Direction = 'ltr' | 'rtl';
|
||
|
declare type FocusIntent = 'first' | 'last' | 'prev' | 'next';
|
||
|
export declare const getFocusIntent: (event: KeyboardEvent, orientation?: Orientation, dir?: Direction | undefined) => FocusIntent | undefined;
|
||
|
export declare const reorderArray: <T>(array: T[], atIdx: number) => T[];
|
||
|
export declare const focusFirst: (elements: HTMLElement[]) => void;
|
||
|
export {};
|