KeyboardEvent

JS
1.1
open class KeyboardEvent : UIEvent

Exposes the JavaScript KeyboardEvent to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript KeyboardEvent to Kotlin

KeyboardEvent(
    type: String,
    eventInitDict: KeyboardEventInit = definedExternally)

Properties

JS
1.1

altKey

open val altKey: Boolean
JS
1.1

charCode

open val charCode: Int
JS
1.1

code

open val code: String
JS
1.1

ctrlKey

open val ctrlKey: Boolean
JS
1.1

isComposing

open val isComposing: Boolean
JS
1.1

key

open val key: String
JS
1.1

keyCode

open val keyCode: Int
JS
1.1

location

open val location: Int
JS
1.1

metaKey

open val metaKey: Boolean
JS
1.1

repeat

open val repeat: Boolean
JS
1.1

shiftKey

open val shiftKey: Boolean
JS
1.1

which

open val which: Int

Functions

JS
1.1

getModifierState

fun getModifierState(keyArg: String): Boolean

Companion Object Properties

JS
1.1

DOM_KEY_LOCATION_LEFT

val DOM_KEY_LOCATION_LEFT: Int
JS
1.1

DOM_KEY_LOCATION_NUMPAD

val DOM_KEY_LOCATION_NUMPAD: Int
JS
1.1

DOM_KEY_LOCATION_RIGHT

val DOM_KEY_LOCATION_RIGHT: Int
JS
1.1

DOM_KEY_LOCATION_STANDARD

val DOM_KEY_LOCATION_STANDARD: Int