Skip to content

API Reference / @gtkx/testing / ScrollDelta

Type Alias: ScrollDelta ​

ScrollDelta = object

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

A scroll distance in pixels along each axis.

Properties ​

x? ​

optional x?: number

Defined in: packages/testing/src/user-event/adjustment.ts:9

Distance added to the horizontal adjustment.


y? ​

optional y?: number

Defined in: packages/testing/src/user-event/adjustment.ts:11

Distance added to the vertical adjustment.