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

    Interface BoundsChangingEvent

    Generated during changes to a window's size and/or position.

    interface BoundsChangingEvent {
        bottom: number;
        changeType: 0 | 1 | 2;
        content: Bounds;
        height: number;
        left: number;
        name: string;
        reason: "self" | "animation";
        right: number;
        top: number;
        topic: "window";
        type: "bounds-changing";
        uuid: string;
        width: number;
    }
    Index
    bottom: number
    changeType: 0 | 1 | 2
    content: Bounds

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

    height: number
    left: number
    name: string
    reason: "self" | "animation"
    right: number
    top: number
    topic: "window"

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

    OpenFin.Frame is represented as iframe.

    type: "bounds-changing"

    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