1
This commit is contained in:
8
admin/node_modules/element-plus/es/components/roving-focus-group/src/utils.d.ts
generated
vendored
Normal file
8
admin/node_modules/element-plus/es/components/roving-focus-group/src/utils.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { HTMLAttributes } from 'vue';
|
||||
type Orientation = HTMLAttributes['aria-orientation'];
|
||||
type Direction = 'ltr' | 'rtl';
|
||||
type FocusIntent = 'first' | 'last' | 'prev' | 'next';
|
||||
export declare const getFocusIntent: (event: KeyboardEvent, orientation?: Orientation, dir?: Direction) => FocusIntent | undefined;
|
||||
export declare const reorderArray: <T>(array: T[], atIdx: number) => T[];
|
||||
export declare const focusFirst: (elements: HTMLElement[]) => void;
|
||||
export {};
|
||||
Reference in New Issue
Block a user