Table of contents

Public interface

TLInstance

State that is particular to a single browser tab

Signature
References

BaseRecord, TLInstanceId

Source

packages/tlschema/src/records/TLInstance.ts


Properties

brush

Public propertysignature

Signature
References

BoxModel


canMoveCamera

Public propertysignature

Signature

chatMessage

Public propertysignature

Signature

currentPageId

Public propertysignature

Signature
References

TLPageId


cursor

Public propertysignature

Signature
References

TLCursor


devicePixelRatio

Public propertysignature

Signature

duplicateProps

Public propertysignature

Signature
References

TLShapeId


exportBackground

Public propertysignature

Signature

followingUserId

Public propertysignature

Signature

highlightedUserIds

Public propertysignature

Signature

insets

Public propertysignature

Signature

isChangingStyle

Public propertysignature

Signature

isChatting

Public propertysignature

Signature

isCoarsePointer

Public propertysignature

This is whether the primary input mechanism includes a pointing device of limited accuracy, such as a finger on a touchscreen. See: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer

Signature

isDebugMode

Public propertysignature

Signature

isFocused

Public propertysignature

Signature

isFocusMode

Public propertysignature

Signature

isGridMode

Public propertysignature

Signature

isHoveringCanvas

Public propertysignature

Will be null if the pointer doesn't support hovering (e.g. touch), but true or false otherwise

Signature

isPenMode

Public propertysignature

Signature

isReadonly

Public propertysignature

Signature

isToolLocked

Public propertysignature

Signature

meta

Public propertysignature

Signature

opacityForNextShape

Public propertysignature

Signature
References

TLOpacityType


openMenus

Public propertysignature

Signature

screenBounds

Public propertysignature

Signature
References

BoxModel


scribbles

Public propertysignature

Signature
References

TLScribble


stylesForNextShape

Public propertysignature

Signature

zoomBrush

Public propertysignature

Signature
References

BoxModel


TLINSTANCE_IDTLInstanceId