KeyboardEvent

@Serializable
data class KeyboardEvent(val type: String, val detail: Long, val key: String, val altKey: Boolean, val ctrlKey: Boolean, val code: String, val location: Int, val metaKey: Boolean, val shiftKey: Boolean, val locale: String? = null, val isComposing: Boolean, val retrieved: JsonElement = JsonNull)(source)

Corresponds to a JavaScript event object.

Constructors

Link copied to clipboard
constructor(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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val key: String
Link copied to clipboard
val locale: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val retrieved: JsonElement
Link copied to clipboard
Link copied to clipboard