Clear the database of all data associated with tldraw.

function hardReset({
  shouldReload,
}?: {
  shouldReload?: boolean | undefined
}): Promise<void>

Parameters

NameDescription

{ shouldReload }

{
  shouldReload?: boolean | undefined
}

Returns

Promise<void>
Prev
getUserPreferences
Next
hardResetEditor