KeyEvent

data class KeyEvent(val type: KeyEvent.Type, val key: Key, val modifiers: Set<InputModifier>, val characters: String?)

Represents a keyboard event emitted by a navigator.

Parameters

type

Nature of the event.

key

Key the user pressed or released.

modifiers

Additional input modifiers for keyboard shortcuts.

characters

Characters generated by the keypress, if any.

Constructors

Link copied to clipboard
constructor(type: KeyEvent.Type, key: Key, modifiers: Set<InputModifier>, characters: String?)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
val key: Key
Link copied to clipboard
Link copied to clipboard