TLLoadSnapshotOptions

See source code
Table of contents

Options for loadSnapshot

interface TLLoadSnapshotOptions {}

Properties

forceOverwriteSessionState

optional

By default, some session state flags like isDebugMode are not overwritten when loading a snapshot. These are usually considered "sticky" by users while the document data is not. If you want to overwrite these flags, set this to true.

forceOverwriteSessionState?: boolean

Prev
TLLoadSessionStateSnapshotOptions
Next
TLMeasureTextSpanOpts