AboutSupportDeveloper GuideVersion 18.0.9

Options used within the applyWorkspace method.

Inherit Doc

Hierarchy

  • ApplySnapshotOptions
    • ApplySnapshotOptions

Properties

closeExistingWindows?: boolean

When true, applyWorkspace will close all existing windows, replacing current Platform state with the given snapshot.

Default

true
closeSnapshotWindows?: boolean

Default Value

false

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

skipOutOfBoundsCheck?: boolean

Default Value

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 PlatformProvider.positionOutOfBoundsWindows.