Builder

class Builder(val type: DragEventType, val x: Double, val y: Double, val data: DragData)

A builder for DispatchDragEventRequest, which allows setting the optional parameters of the InputDomain.dispatchDragEvent command via a lambda.

Constructors

Link copied to clipboard
constructor(type: DragEventType, x: Double, y: Double, data: DragData)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard

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.

Functions

Link copied to clipboard