AboutSupportDeveloper GuideVersion 36.122.80.23

Generated when a window is being resized by the user.

Remarks

For use with monitor scaling that is not 100%. Bounds are given in DIP (adjusted for monitor scale factor). The event will fire when a user resize is blocked by window options such as maxWidth or minHeight but not if the window is not resizable.

Hierarchy

  • WillResizeEvent

Properties

height: number
left: number
monitorScaleFactor: number
name: string
top: number
topic: "window"

The "kebab-case" classname of the emitter that raised the event.

Remarks

Frame is represented as iframe.

type: "will-resize"

The type of event that was raised. Equal to the typename of the event payload in "kebab case".

Remarks

Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).

uuid: string
width: number