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

Last Updated: 03 September, 2026