KeyboardEvent

external interface KeyboardEvent : Event

Functions

composedPath
Link copied to clipboard
fun composedPath(): Array<EventTarget>
initEvent
Link copied to clipboard
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean)
preventDefault
Link copied to clipboard
fun preventDefault()
stopImmediatePropagation
Link copied to clipboard
fun stopImmediatePropagation()
stopPropagation
Link copied to clipboard
fun stopPropagation()

Properties

altKey
Link copied to clipboard
open var altKey: Boolean?
bubbles
Link copied to clipboard
open val bubbles: Boolean
cancelable
Link copied to clipboard
open val cancelable: Boolean
composed
Link copied to clipboard
open val composed: Boolean
ctrlKey
Link copied to clipboard
open var ctrlKey: Boolean?
currentTarget
Link copied to clipboard
open val currentTarget: EventTarget?
defaultPrevented
Link copied to clipboard
open val defaultPrevented: Boolean
eventPhase
Link copied to clipboard
open val eventPhase: Short
isTrusted
Link copied to clipboard
open val isTrusted: Boolean
metaKey
Link copied to clipboard
open var metaKey: Boolean?
preventDefault
Link copied to clipboard
abstract var preventDefault: () -> Unit
shiftKey
Link copied to clipboard
open var shiftKey: Boolean?
target
Link copied to clipboard
open val target: EventTarget?
timeStamp
Link copied to clipboard
open val timeStamp: Number
triggeredByAccelerator
Link copied to clipboard
open var triggeredByAccelerator: Boolean?
type
Link copied to clipboard
open val type: String