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