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