@graphty/graphty-element / session / listAutosaves
Function: listAutosaves() ​
listAutosaves(
key,options?):Promise<readonlyAutosaveEntry[]>
Defined in: graphty-element/src/autosave/elementAutosave.ts:850
The work kept under an autosave key, read without an element: for a page that offers it before it shows a graph, such as a start screen. The same list as autosaver.list(), oldest first; live is true for an entry an element (in any tab) is writing now. Empty where the browser keeps no storage. Open an entry with autosaver.restore(id) on an element with the same key.
Parameters ​
key ​
string
The autosave key.
options? ​
Where to look.
Returns ​
Promise<readonly AutosaveEntry[]>
The entries.