@mocanvas/editor · interface

TLSessionStateSnapshot

interface TLSessionStateSnapshot

Where one person was looking, independently of the document.

Kept per page rather than only for the current one, so switching back to a page you visited earlier in the session returns you to where you left it.


Properties · 8

currentPageId: PageId | undefined
exportBackground: boolean
isDebugMode: boolean
isFocusMode: boolean
isGridMode: boolean
isToolLocked: boolean
pageStates: TLSessionPageState[]
version: number

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.