AboutSupportDeveloper GuideVersion 40.128.82.13

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.