isCtrlKeyShortcut MethodProtected
Check if a key is part of a Ctrl key shortcut handled by iTwin.js (Ctrl+Z, Ctrl+Y, Ctrl+C, Ctrl+X, Ctrl+V, Ctrl+F2).
isCtrlKeyShortcut(keyEvent: KeyboardEvent): boolean
@note Subclasses can override to add custom Ctrl shortcuts and handle them with onCtrlKeyPressed.
@returns true if key is a Ctrl key shortcut
| Parameter | Type | Description |
|---|---|---|
| keyEvent | KeyboardEvent |
Returns - boolean
true if key is a Ctrl key shortcut
Defined in
- core/frontend/src/tools/ToolAdmin.ts Line 1522
Last Updated: 03 September, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.