KeyboardEvent

data class KeyboardEvent(type: String, detail: Long, key: String, altKey: Boolean, ctrlKey: Boolean, code: String, location: Int, metaKey: Boolean, shiftKey: Boolean, locale: String?, isComposing: Boolean, retrieved: JsonElement)

Corresponds to a JavaScript event object.

Constructors

KeyboardEvent
Link copied to clipboard
fun KeyboardEvent(type: String, detail: Long, key: String, altKey: Boolean, ctrlKey: Boolean, code: String, location: Int, metaKey: Boolean, shiftKey: Boolean, locale: String? = null, isComposing: Boolean, retrieved: JsonElement = JsonNull)

Properties

altKey
Link copied to clipboard
val altKey: Boolean
code
Link copied to clipboard
val code: String
ctrlKey
Link copied to clipboard
val ctrlKey: Boolean
detail
Link copied to clipboard
val detail: Long
isComposing
Link copied to clipboard
val isComposing: Boolean
key
Link copied to clipboard
val key: String
locale
Link copied to clipboard
val locale: String? = null
location
Link copied to clipboard
val location: Int
metaKey
Link copied to clipboard
val metaKey: Boolean
retrieved
Link copied to clipboard
val retrieved: JsonElement
shiftKey
Link copied to clipboard
val shiftKey: Boolean
type
Link copied to clipboard
val type: String