Interface · Core and Composition
KeyEvent
Normalized native keyboard event.
@sharpts/gui · SharpTS 572a2e31be0eMembers
alt
readonly alt: booleanWhether Alt is pressed.
Type: boolean
ctrl
readonly ctrl: booleanWhether Control is pressed.
Type: boolean
key
readonly key: stringPlatform-independent key name.
Type: string
meta
readonly meta: booleanWhether the platform meta key is pressed.
Type: boolean
repeat
readonly repeat: booleanWhether this event repeats while the key is held.
Type: boolean
shift
readonly shift: booleanWhether Shift is pressed.
Type: boolean
Source
src/SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:213 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.