@graphty/graphty-element / session / browserProjects
Variable: browserProjects ​
constbrowserProjects:BrowserProjects
Defined in: graphty-element/src/session/browserProjects.ts:218
Projects kept in this browser's IndexedDB (database graphty-projects), for a host that has no file system to save to, such as a tablet.
Example ​
typescript
const stored = await browserProjects.save(element.session);
const file = await browserProjects.get(stored.id);
if (file) await element.session.project.open(file, { discard: true });