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

    Interface ViewsPreventingUnloadPayload

    Represents the payload shape for Views that are trying to prevent an unload.

    interface ViewsPreventingUnloadPayload {
        closeType: "window" | "view";
        viewsNotPreventingUnload: Identity[];
        viewsPreventingUnload: Identity[];
        windowId: Identity;
        windowShouldClose: boolean;
    }
    Index
    closeType: "window" | "view"

    Source of the close action.

    viewsNotPreventingUnload: Identity[]

    Identities of the Views that are not preventing an unload

    viewsPreventingUnload: Identity[]

    Identities of the Views that are preventing an unload

    windowId: Identity

    Identity of the Window.

    windowShouldClose: boolean

    Specifies if the Window should close.