Skip to content

API Reference / @gtkx/testing / ScrollDelta

Type Alias: ScrollDelta ​

ScrollDelta = object

Defined in: packages/testing/dist/user-event/adjustment.d.ts:3

A scroll distance in pixels along each axis.

Properties ​

x? ​

optional x?: number

Defined in: packages/testing/dist/user-event/adjustment.d.ts:5

Distance added to the horizontal adjustment.


y? ​

optional y?: number

Defined in: packages/testing/dist/user-event/adjustment.d.ts:7

Distance added to the vertical adjustment.