AboutSupportDeveloper GuideVersion 41.132.100.57
interface ApplySnapshotOptions {
    closeExistingWindows?: boolean;
    closeSnapshotWindows?: boolean;
    skipOutOfBoundsCheck?: boolean;
}

Properties

closeExistingWindows?: boolean
false

When true, applySnapshot will close existing windows,
replacing current Platform state with the given snapshot.
closeSnapshotWindows?: boolean
false

When true, applySnapshot will close existing includeInSnapshots: true windows,
replacing current Platform state with the given snapshot.
skipOutOfBoundsCheck?: boolean

false

When true, applySnapshot will not check whether any windows in a snapshot are off-screen. By default, such windows will be repositioned to be on-screen, as defined by PlatformProvider.positionOutOfBoundsWindows.