Skip to content

Interface: InputEventMap ​

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

DesktopEngine.input event map. The mouse events need the "mouse" permission: they come wherever the pointer is, over other apps too, and never come without it. Unlike a window's events they don't take the mouse away from anything.

Properties ​

mousedown ​

ts
mousedown: GlobalMouseButtonPayload;

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

A mouse button went down


mousemove ​

ts
mousemove: GlobalPoint;

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

The pointer moved, or was dragged. Moves that come faster than the content takes them are merged into the latest


mouseup ​

ts
mouseup: GlobalMouseButtonPayload;

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

A mouse button went up


wheel ​

ts
wheel: GlobalWheelPayload;

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

The wheel or the trackpad scrolled; deltas that come faster than the content takes them are added up

The SDK is released under the Apache License 2.0