Documentation
On this page

Interface · Core and Composition

KeyEvent

Normalized native keyboard event.

@sharpts/gui · SharpTS 572a2e31be0e

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

src/SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:213 at SharpTS revision 572a2e31be0e2a09be0138bc44501b34d6245b51.