TLEventMap

See source code
Table of contents
interface TLEventMap {}

Properties

"before-event"

"before-event": [TLEventInfo];

"created-shapes"

"created-shapes": [TLRecord[]];

"deleted-shapes"

"deleted-shapes": [TLShapeId[]];

"edited-shapes"

"edited-shapes": [TLRecord[]];

"max-shapes"

"max-shapes": [
  {
    count: number;
    name: string;
    pageId: TLPageId;
  },
];

"place-caret"

"place-caret": [
  {
    point: {
      x: number;
      y: number;
    };
    shapeId: TLShapeId;
  },
];

"select-all-text"

"select-all-text": [
  {
    shapeId: TLShapeId;
  },
];

"stop-camera-animation"

"stop-camera-animation": [];

"stop-following"

"stop-following": [];

change

change: [HistoryEntry<TLRecord>];

crash

crash: [
  {
    error: unknown;
  },
];

dispose

dispose: [];

edit

edit: [];

event

event: [TLEventInfo];

frame

frame: [number];

mount

mount: [];

resize

resize: [BoxModel];

tick

tick: [number];

update

update: [];

Prev
TLEventHandlers
Next
TLExcalidrawExternalContent