AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface WillResizeEvent

    Generated when a window is being resized by the user.

    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 {
        bottom: number;
        content: Bounds;
        height: number;
        left: number;
        monitorScaleFactor: number;
        name: string;
        right: number;
        top: number;
        topic: "window";
        type: "will-resize";
        uuid: string;
        width: number;
    }
    Index
    bottom: number
    content: Bounds

    The bounds for the window's web content, excluding any OS border

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

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

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

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

    uuid: string
    width: number