Skip to content

API Reference / @gtkx/testing / DropOptions

Type Alias: DropOptions ​

DropOptions = object

Defined in: packages/testing/src/user-event/gesture.ts:15

Options for a drop: the drop coordinates within the target.

Properties ​

x? ​

optional x?: number

Defined in: packages/testing/src/user-event/gesture.ts:17

Horizontal drop coordinate within the target, in pixels.


y? ​

optional y?: number

Defined in: packages/testing/src/user-event/gesture.ts:19

Vertical drop coordinate within the target, in pixels.