Documentation
On this page

Interface · Core and Composition

KeyEvent

Normalized native keyboard event.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

alt

readonly alt: boolean

Whether Alt is pressed.

Type: boolean

ctrl

readonly ctrl: boolean

Whether Control is pressed.

Type: boolean

key

readonly key: string

Platform-independent key name.

Type: string

meta

readonly meta: boolean

Whether the platform meta key is pressed.

Type: boolean

repeat

readonly repeat: boolean

Whether this event repeats while the key is held.

Type: boolean

shift

readonly shift: boolean

Whether Shift is pressed.

Type: boolean

Source

SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:196 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.