loadSnapshot

See source code

Loads a snapshot into a store.

function loadSnapshot(
  store: TLStore,
  _snapshot: Partial<TLEditorSnapshot> | TLStoreSnapshot
): void

Parameters

NameDescription

store

_snapshot

Returns

void
Prev
loadSessionStateSnapshotIntoStore
Next
loopToHtmlElement