KeyboardEvent
Constructors
<init>
Exposes the JavaScript KeyboardEvent to Kotlin
KeyboardEvent(
type: String,
eventInitDict: KeyboardEventInit = definedExternally)Properties
altKey
open val altKey: BooleancharCode
open val charCode: Intcode
open val code: StringctrlKey
open val ctrlKey: BooleanisComposing
open val isComposing: Booleankey
open val key: StringkeyCode
open val keyCode: Intlocation
open val location: IntmetaKey
open val metaKey: Booleanrepeat
open val repeat: BooleanshiftKey
open val shiftKey: Booleanwhich
open val which: IntFunctions
getModifierState
fun getModifierState(keyArg: String): BooleanCompanion Object Properties
AT_TARGET
val AT_TARGET: ShortBUBBLING_PHASE
val BUBBLING_PHASE: ShortCAPTURING_PHASE
val CAPTURING_PHASE: ShortDOM_KEY_LOCATION_LEFT
val DOM_KEY_LOCATION_LEFT: IntDOM_KEY_LOCATION_NUMPAD
val DOM_KEY_LOCATION_NUMPAD: IntDOM_KEY_LOCATION_RIGHT
val DOM_KEY_LOCATION_RIGHT: IntDOM_KEY_LOCATION_STANDARD
val DOM_KEY_LOCATION_STANDARD: IntNONE
val NONE: Short