AboutSupportDeveloper GuideVersion 40.130.100.7

User decision of whether a Window or specific View should close when trying to prevent an unload.

interface BeforeUnloadUserDecision {
    viewsToClose: Identity[];
    windowShouldClose: boolean;
}

Properties

viewsToClose: Identity[]

Array of views that will close.

windowShouldClose: boolean

Specifies if the Window should close.