vuetify
Version: 
Vue Material Component Framework
15 lines (14 loc) • 529 B
TypeScript
/**
 * Centralized key alias mapping for consistent key normalization across the hotkey system.
 *
 * This maps various user-friendly aliases to canonical key names that match
 * KeyboardEvent.key values (in lowercase) where possible.
 */
export declare const keyAliasMap: Record<string, string>;
/**
 * Normalizes a key string to its canonical form using the alias map.
 *
 * @param key - The key string to normalize
 * @returns The canonical key name in lowercase
 */
export declare function normalizeKey(key: string): string;