loadSnapshot

See source code

Loads a snapshot into a store.

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

Parameters

NameDescription

store

_snapshot

opts

Returns

void
Prev
loadSessionStateSnapshotIntoStore
Next
loopToHtmlElement