KeyboardEvent
Constructors
<init>
Exposes the JavaScript KeyboardEvent to Kotlin
KeyboardEvent(
type: String,
eventInitDict: KeyboardEventInit = definedExternally)
Properties
altKey
open val altKey: Boolean
charCode
open val charCode: Int
code
open val code: String
ctrlKey
open val ctrlKey: Boolean
isComposing
open val isComposing: Boolean
key
open val key: String
keyCode
open val keyCode: Int
location
open val location: Int
metaKey
open val metaKey: Boolean
repeat
open val repeat: Boolean
shiftKey
open val shiftKey: Boolean
which
open val which: Int
Functions
getModifierState
fun getModifierState(keyArg: String): Boolean
Companion Object Properties
AT_TARGET
val AT_TARGET: Short
BUBBLING_PHASE
val BUBBLING_PHASE: Short
CAPTURING_PHASE
val CAPTURING_PHASE: Short
DOM_KEY_LOCATION_LEFT
val DOM_KEY_LOCATION_LEFT: Int
DOM_KEY_LOCATION_NUMPAD
val DOM_KEY_LOCATION_NUMPAD: Int
DOM_KEY_LOCATION_RIGHT
val DOM_KEY_LOCATION_RIGHT: Int
DOM_KEY_LOCATION_STANDARD
val DOM_KEY_LOCATION_STANDARD: Int
NONE
val NONE: Short