UNPKG

463 BTypeScriptView Raw
1/**
2 * Returns true if the keycode is a directional keyboard key.
3 */
4export declare function isDirectionalKeyCode(which: number): boolean;
5/**
6 * Adds a keycode to the list of keys that, when pressed, should cause the focus outlines to be visible.
7 * This can be used to add global shortcut keys that directionally move from section to section within
8 * an app or between focus trap zones.
9 */
10export declare function addDirectionalKeyCode(which: number): void;