Interface: WindowEventMap
Defined in: types/desktop-engine.d.ts:506
Window event map
Extends
Properties
blur
blur: void;Defined in: types/desktop-engine.d.ts:524
The window stopped being the main window
click
click: MousePayload;Defined in: types/desktop-engine.d.ts:488
A click of the primary button
Inherited from
close
close: void;Defined in: types/desktop-engine.d.ts:512
The window is about to close
dblclick
dblclick: MousePayload;Defined in: types/desktop-engine.d.ts:490
A double click of the primary button
Inherited from
devicepixelratiochange
devicepixelratiochange: void;Defined in: types/desktop-engine.d.ts:536
devicePixelRatio changed: the window moved to a display with another scale, or the display's scale changed
focus
focus: void;Defined in: types/desktop-engine.d.ts:522
The window became the main window
framechange
framechange: FrameChangePayload;Defined in: types/desktop-engine.d.ts:486
Layout frame changed
Inherited from
hide
hide: void;Defined in: types/desktop-engine.d.ts:510
The window became invisible (occlusion state changed)
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
move
move: MovePayload;Defined in: types/desktop-engine.d.ts:520
Fired after the user moves the window, or a widget's window got another place than its style asked for
resize
resize: void;Defined in: types/desktop-engine.d.ts:518
Fired after the window's size changed other than as its style asked (no argument; read width/height): the user resized it, or, for a widget's window, it got another size than its style asked for (its style then has the size it got). Live while the user drags an edge, at most once a frame
show
show: void;Defined in: types/desktop-engine.d.ts:508
The window became visible (occlusion state changed)
wheel
wheel: WheelPayload;Defined in: types/desktop-engine.d.ts:502
Scroll wheel, see WheelPayload for which windows get it
