AboutSupportDeveloper GuideVersion 38.126.83.79

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.