UNPKG

@itwin/appui-abstract

Version:
52 lines 1.45 kB
/** @packageDocumentation * @module Utilities */ /** Enumeration for Function Keys * @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use the `ts-key-enum` npm package or string literals. */ export declare enum FunctionKey { F1 = "F1", F2 = "F2", F3 = "F3", F4 = "F4", F5 = "F5", F6 = "F6", F7 = "F7", F8 = "F8", F9 = "F9", F10 = "F10", F11 = "F11", F12 = "F12" } /** Enumeration for Special Keys * @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use the `ts-key-enum` npm package or string literals. */ export declare enum SpecialKey { Home = "Home", End = "End", PageUp = "PageUp", PageDown = "PageDown", Escape = "Escape", Delete = "Delete", Insert = "Insert", Tab = "Tab", ArrowLeft = "ArrowLeft", ArrowRight = "ArrowRight", ArrowUp = "ArrowUp", ArrowDown = "ArrowDown", Enter = "Enter", Return = "Enter", Space = " ", Backspace = "Backspace", Clear = "Clear", Divide = "Divide", Multiply = "Multiply", Subtract = "Subtract", Add = "Add", Decimal = "Decimal" } /** Determines if a KeyboardEvent.key is an Arrow key * @public @deprecated in 4.3 - will not be removed until after 2026-06-13. Please use a custom implementation moving forward. */ export declare function isArrowKey(key: string): boolean; //# sourceMappingURL=KeyboardKey.d.ts.map