TLInstance

Public Interface

Table of Contents

TLInstance

State that is particular to a single browser tab

Signature
interface TLInstance extends BaseRecord<'instance', TLInstanceId> {}
References

BaseRecord, TLInstanceId


Properties

brush

Public PropertySignature

Signature
brush: Box2dModel | null
References

Box2dModel


currentPageId

Public PropertySignature

Signature
currentPageId: TLPageId
References

TLPageId


cursor

Public PropertySignature

Signature
cursor: TLCursor
References

TLCursor


exportBackground

Public PropertySignature

Signature
exportBackground: boolean

followingUserId

Public PropertySignature

Signature
followingUserId: null | string

isDebugMode

Public PropertySignature

Signature
isDebugMode: boolean

isFocusMode

Public PropertySignature

Signature
isFocusMode: boolean

isGridMode

Public PropertySignature

Signature
isGridMode: boolean

isPenMode

Public PropertySignature

Signature
isPenMode: boolean

isToolLocked

Public PropertySignature

Signature
isToolLocked: boolean

opacityForNextShape

Public PropertySignature

Signature
opacityForNextShape: TLOpacityType
References

TLOpacityType


propsForNextShape

Public PropertySignature

Signature
propsForNextShape: TLInstancePropsForNextShape
References

TLInstancePropsForNextShape


screenBounds

Public PropertySignature

Signature
screenBounds: Box2dModel
References

Box2dModel


scribble

Public PropertySignature

Signature
scribble: null | TLScribble
References

TLScribble


zoomBrush

Public PropertySignature

Signature
zoomBrush: Box2dModel | null
References

Box2dModel


Edit this page
Last edited on 12 June 2023
TLINSTANCE_IDTLInstanceId