Interface: CanvasEventMap
Defined in: types/desktop-engine.d.ts:1352
Canvas event map
Extends
Properties
click
click: MousePayload;Defined in: types/desktop-engine.d.ts:488
A click of the primary button
Inherited from
contextlost
contextlost: ContextLostPayload;Defined in: types/desktop-engine.d.ts:1360
The same for a 2D context
dblclick
dblclick: MousePayload;Defined in: types/desktop-engine.d.ts:490
A double click of the primary button
Inherited from
framechange
framechange: FrameChangePayload;Defined in: types/desktop-engine.d.ts:486
Layout frame changed
Inherited from
mousedown
mousedown: MousePayload;Defined in: types/desktop-engine.d.ts:492
A mouse button pressed: any button, see button
Inherited from
mouseenter
mouseenter: MousePayload;Defined in: types/desktop-engine.d.ts:496
Mouse entered
Inherited from
mouseleave
mouseleave: MousePayload;Defined in: types/desktop-engine.d.ts:498
Mouse exited
Inherited from
mousemove
mousemove: MousePayload;Defined in: types/desktop-engine.d.ts:500
Mouse moved
Inherited from
mouseup
mouseup: MousePayload;Defined in: types/desktop-engine.d.ts:494
A mouse button released: any button, see button
Inherited from
webglcontextlost
webglcontextlost: ContextLostPayload;Defined in: types/desktop-engine.d.ts:1358
The GPU stopped the work of the canvas' WebGL context (it took too long, e.g. a huge draw or a shader that loops for long, or it failed): the context is lost for good and nothing drawn shows any more, the canvas keeps what it last showed. Doesn't happen to content that stays within what the GPU can do in a frame
wheel
wheel: WheelPayload;Defined in: types/desktop-engine.d.ts:502
Scroll wheel, see WheelPayload for which windows get it
