Public function

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

Signature
function loadSessionStateSnapshotIntoStore(
  store: TLStore,
  snapshot: TLSessionStateSnapshot
): void
Parameters
NameDescription

store

TLStore

The store to load the instance state into

snapshot

TLSessionStateSnapshot

The instance state snapshot to load

Returns
void
References

TLStore, TLSessionStateSnapshot

Source

packages/editor/src/lib/config/TLSessionStateSnapshot.ts

LoadingScreenloopToHtmlElement