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

TLPageId


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

TLShapeId, TLPageId


version

Public propertysignature

Signature
version: number

TLSelectionHandleTLShapeIndicatorProps