DispatchDragEventParameter

@Serializable
data class DispatchDragEventParameter(val type: String, val x: Double, val y: Double, val data: Input.DragData, val modifiers: Int? = null)

Constructors

Link copied to clipboard
constructor(type: String, x: Double, y: Double, data: Input.DragData, modifiers: Int? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val modifiers: Int? = null

Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).

Link copied to clipboard

Type of the drag event.

Link copied to clipboard
val x: Double

X coordinate of the event relative to the main frame's viewport in CSS pixels.

Link copied to clipboard
val y: Double

Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.