Skip to content

Interface: WheelPayload ​

Defined in: types/desktop-engine.d.ts:439

wheel payload: the scroll wheel or the trackpad turned while the pointer is over a widget or overlay window, where it takes the mouse (its hitRegion; API 8), or over a key window. The system's deltas, about lines

Properties ​

deltaX ​

ts
deltaX: number;

Defined in: types/desktop-engine.d.ts:441

Horizontal scroll delta, positive toward the left


deltaY ​

ts
deltaY: number;

Defined in: types/desktop-engine.d.ts:443

Vertical scroll delta, positive toward the top: with natural scrolling, fingers moving down the trackpad


deltaZ ​

ts
deltaZ: number;

Defined in: types/desktop-engine.d.ts:445

Z-axis scroll delta

The SDK is released under the Apache License 2.0