AboutSupportDeveloper GuideVersion 38.126.82.69

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.

interface WillResizeEvent {
    height: number;
    left: number;
    monitorScaleFactor: number;
    name: string;
    top: number;
    topic: "window";
    type: "will-resize";
    uuid: string;
    width: number;
}

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

OpenFin.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