Input

external interface Input(source)

Properties

Link copied to clipboard
abstract var alt: Boolean

Equivalent to KeyboardEvent.altKey.

Link copied to clipboard
abstract var code: String

Equivalent to KeyboardEvent.code.

Link copied to clipboard
abstract var control: Boolean

Equivalent to KeyboardEvent.controlKey.

Link copied to clipboard
abstract var isAutoRepeat: Boolean

Equivalent to KeyboardEvent.repeat.

Link copied to clipboard
abstract var isComposing: Boolean

Equivalent to KeyboardEvent.isComposing.

Link copied to clipboard
abstract var key: String

Equivalent to KeyboardEvent.key.

Link copied to clipboard
abstract var location: Double

Equivalent to KeyboardEvent.location.

Link copied to clipboard
abstract var meta: Boolean

Equivalent to KeyboardEvent.metaKey.

Link copied to clipboard

See InputEvent.modifiers.

Link copied to clipboard
abstract var shift: Boolean

Equivalent to KeyboardEvent.shiftKey.

Link copied to clipboard
abstract var type: String

Either keyUp or keyDown.