DragEvent

open external class DragEvent : MouseEvent (source)

Platform and version requirements: JS

Exposes the JavaScript DragEvent to Kotlin

Constructors

<init>

DragEvent(
    type: String,
    eventInitDict: DragEventInit = definedExternally)

Exposes the JavaScript DragEvent to Kotlin

Properties

dataTransfer

open val dataTransfer: DataTransfer?

Inherited Properties

altKey

open val altKey: Boolean

button

open val button: Short

buttons

open val buttons: Short

clientX

open val clientX: Int

clientY

open val clientY: Int

ctrlKey

open val ctrlKey: Boolean

metaKey

open val metaKey: Boolean

offsetX

open val offsetX: Double

offsetY

open val offsetY: Double

pageX

open val pageX: Double

pageY

open val pageY: Double

region

open val region: String?

relatedTarget

open val relatedTarget: EventTarget?

screenX

open val screenX: Int

screenY

open val screenY: Int

shiftKey

open val shiftKey: Boolean

Inherited Functions

getModifierState

fun getModifierState(keyArg: String): Boolean