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