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': [
  | {
      reason: 'bail'
      markId?: string
    }
  | {
      reason: 'push' | 'redo' | 'undo'
    },
]

"mark-history"

Public propertysignature

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

"max-shapes"

Public propertysignature

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

TLPageId


"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