Skip to content

API Reference / @gtkx/testing / DropOptions

Type Alias: DropOptions

DropOptions = object

Defined in: packages/testing/dist/user-event/gesture.d.ts:6

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

Properties

x?

optional x?: number

Defined in: packages/testing/dist/user-event/gesture.d.ts:8

Horizontal drop coordinate within the target, in pixels.


y?

optional y?: number

Defined in: packages/testing/dist/user-event/gesture.d.ts:10

Vertical drop coordinate within the target, in pixels.

Released under the MPL-2.0 License.