TLSessionStateSnapshot

See source code
Table of contents

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

interface TLSessionStateSnapshot {}

Properties

currentPageId

optional
currentPageId?: TLPageId;

exportBackground

optional
exportBackground?: boolean;

isDebugMode

optional
isDebugMode?: boolean;

isFocusMode

optional
isFocusMode?: boolean;

isGridMode

optional
isGridMode?: boolean;

isToolLocked

optional
isToolLocked?: boolean;

pageStates

optional
pageStates?: Array<{
  camera?: {
    x: number;
    y: number;
    z: number;
  };
  focusedGroupId?: null | TLShapeId;
  pageId: TLPageId;
  selectedShapeIds?: TLShapeId[];
}>;

version

version: number;

Prev
TLSelectionForegroundProps
Next
TLShapeIndicatorProps