Table of contents

Public interface

Signature
interface TLEventMap {}
Source

packages/editor/src/lib/editor/types/emit-types.ts


Properties

"change-history"

Public propertysignature

Signature
'change-history': [
  | {
      markId?: string
      reason: 'bail'
    }
  | {
      reason: 'push' | 'redo' | 'undo'
    },
]

"mark-history"

Public propertysignature

Signature
'mark-history': [
  {
    id: string
  },
]

"max-shapes"

Public propertysignature

Signature
'max-shapes': [
  {
    count: number
    name: string
    pageId: TLPageId
  },
]
References

TLPageId


"select-all-text"

Public propertysignature

Signature
'select-all-text': [
  {
    shapeId: TLShapeId
  },
]
References

TLShapeId


"stop-camera-animation"

Public propertysignature

Signature
'stop-camera-animation': []

"stop-following"

Public propertysignature

Signature
'stop-following': []

change

Public propertysignature

Signature
change: [HistoryEntry<TLRecord>]
References

HistoryEntry, TLRecord


crash

Public propertysignature

Signature
crash: [
  {
    error: unknown
  },
]

event

Public propertysignature

Signature
event: [TLEventInfo]
References

TLEventInfo


frame

Public propertysignature

Signature
frame: [number]

mount

Public propertysignature

Signature
mount: []

tick

Public propertysignature

Signature
tick: [number]

update

Public propertysignature

Signature
update: []

TLEventInfoTLEventMapHandler