TLSessionStateSnapshot

Public Interface

Table of Contents

The state of the editor instance, not including any document state.

Signature
interface TLSessionStateSnapshot {}

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<{
  pageId: TLPageId
  camera: {
    x: number
    y: number
    z: number
  }
  selectedIds: TLShapeId[]
  focusLayerId: null | TLShapeId
}>
References

Array, TLPageId, TLShapeId


version

Public PropertySignature

Signature
version: number

Edit this page
Last edited on 5 June 2023
TLSelectionHandleTLShapeUtilConstructor