Skip to content

Interface: MousePayload ​

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

Mouse event payload

Properties ​

altKey ​

ts
altKey: boolean;

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

Whether Option is pressed


ctrlKey ​

ts
ctrlKey: boolean;

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

Whether Control is pressed


metaKey ​

ts
metaKey: boolean;

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

Whether Command is pressed


shiftKey ​

ts
shiftKey: boolean;

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

Whether Shift is pressed


x ​

ts
x: number;

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

x in the component's coordinate system


y ​

ts
y: number;

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

y in the component's coordinate system

The SDK is released under the Apache License 2.0