KeyboardEvent

open external class KeyboardEvent(type: String, eventInitDict: KeyboardEventInit = definedExternally) : UIEvent

Exposes the JavaScript KeyboardEvent to Kotlin

Constructors

Link copied to clipboard
fun KeyboardEvent(type: String, eventInitDict: KeyboardEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
fun getModifierState(keyArg: String): Boolean
Link copied to clipboard
fun initEvent(    type: String,     bubbles: Boolean,     cancelable: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
open val altKey: Boolean
Link copied to clipboard
open val bubbles: Boolean
Link copied to clipboard
open val cancelable: Boolean
Link copied to clipboard
open val charCode: Int
Link copied to clipboard
open val code: String
Link copied to clipboard
open val composed: Boolean
Link copied to clipboard
open val ctrlKey: Boolean
Link copied to clipboard
Link copied to clipboard
open val defaultPrevented: Boolean
Link copied to clipboard
open val detail: Int
Link copied to clipboard
open val eventPhase: Short
Link copied to clipboard
open val isComposing: Boolean
Link copied to clipboard
open val isTrusted: Boolean
Link copied to clipboard
open val key: String
Link copied to clipboard
open val keyCode: Int
Link copied to clipboard
open val location: Int
Link copied to clipboard
open val metaKey: Boolean
Link copied to clipboard
open val repeat: Boolean
Link copied to clipboard
open val shiftKey: Boolean
Link copied to clipboard
open val target: EventTarget?
Link copied to clipboard
open val timeStamp: Number
Link copied to clipboard
open val type: String
Link copied to clipboard
open val view: Window?
Link copied to clipboard
open val which: Int