Header menu logo fable-electron-docs-api

IOnWillResize Type

⚠ OS Compatibility: WIN ✔ | MAC ✔ | LIN ❌ | MAS ❌ Emitted before the window is resized. Calling event.preventDefault() will prevent the window from being resized.Note that this is only emitted when the window is being resized manually. Resizing the window with setBounds/setSize will not emit this event.The possible values and behaviors of the edge option are platform dependent. Possible values are:* On Windows, possible values are bottom, top, left, right, top-left, top-right, bottom-left, bottom-right.* On macOS, possible values are bottom and right. * The value bottom is used to denote vertical resizing. * The value right is used to denote horizontal resizing.

Instance members

Instance member Description

this.details

Full Usage: this.details

Modifiers: abstract

this.event

Full Usage: this.event

Modifiers: abstract

this.newBounds

Full Usage: this.newBounds

Modifiers: abstract

Size the window is being resized to.

Type something to start searching.