loadSessionStateSnapshotIntoStore

See source code

Loads a snapshot of the editor's instance state into the store of a new editor instance.

function loadSessionStateSnapshotIntoStore(
  store: TLStore,
  snapshot: TLSessionStateSnapshot,
  opts?: TLLoadSessionStateSnapshotOptions
): void

Parameters

NameDescription

store

The store to load the instance state into

snapshot

The instance state snapshot to load

opts

Returns

void
Prev
LoadingScreen
Next
loadSnapshot
hi

We use cookies on this website.
Learn more in our Cookie Policy.