TLSessionStateSnapshot
Table of contents
The state of the editor instance, not including any document state.
interface TLSessionStateSnapshot {}
Properties
currentPageId: TLPageId
exportBackground: boolean
isDebugMode: boolean
isFocusMode: boolean
isGridMode: boolean
isToolLocked: boolean
pageStates: Array<{
camera: {
x: number
y: number
z: number
}
focusedGroupId: null | TLShapeId
pageId: TLPageId
selectedShapeIds: TLShapeId[]
}>
version: number