TLUiEventMap

See source code
Table of contents
interface TLUiEventMap {}

Properties

"a11y-repeat-shape-announce"

"a11y-repeat-shape-announce": null;

"adjust-shape-styles"

"adjust-shape-styles": null;

"align-shapes"

"align-shapes": {
  operation:
    | "bottom"
    | "center-horizontal"
    | "center-vertical"
    | "left"
    | "right"
    | "top";
};

"alt-text-start"

"alt-text-start": null;

"change-language"

"change-language": {
  locale: string;
};

"change-page"

"change-page": {
  direction?: "next" | "prev";
};

"change-user-name"

"change-user-name": null;

"close-menu"

"close-menu": {
  id: string;
};

"color-scheme"

"color-scheme": {
  value: string;
};

"convert-to-bookmark"

"convert-to-bookmark": null;

"convert-to-embed"

"convert-to-embed": null;

"copy-as"

"copy-as": {
  format: "json" | "png" | "svg";
};

"copy-link": null;

"create-new-project"

"create-new-project": null;

"delete-page"

"delete-page": null;

"delete-shapes"

"delete-shapes": null;

"distribute-shapes"

"distribute-shapes": {
  operation: "horizontal" | "vertical";
};

"download-original"

"download-original": null;

"drag-tool"

"drag-tool": {
  id: string;
};

"duplicate-page"

"duplicate-page": null;

"duplicate-shapes"

"duplicate-shapes": null;

"edit-link": null;

"enhanced-a11y-mode"

"enhanced-a11y-mode": null;

"enlarge-shapes"

"enlarge-shapes": null;

"exit-pen-mode"

"exit-pen-mode": null;

"export-all-as"

"export-all-as": {
  format: "json" | "png" | "svg";
};

"export-as"

"export-as": {
  format: "json" | "png" | "svg";
};

"fit-frame-to-content"

"fit-frame-to-content": null;

"flatten-to-image"

"flatten-to-image": null;

"flip-shapes"

"flip-shapes": {
  operation: "horizontal" | "vertical";
};

"group-shapes"

"group-shapes": null;

"image-manipulate"

"image-manipulate": null;

"image-replace"

"image-replace": null;

"input-mode"

"input-mode": {
  value: string;
};

"insert-embed"

"insert-embed": null;

"insert-media"

"insert-media": null;

"move-page"

"move-page": null;

"move-to-new-page"

"move-to-new-page": null;

"move-to-page"

"move-to-page": null;

"new-page"

"new-page": null;

"open-context-menu"

"open-context-menu": null;

"open-cursor-chat"

"open-cursor-chat": null;

"open-embed-link": null;

"open-file"

"open-file": null;

"open-kbd-shortcuts"

"open-kbd-shortcuts": null;

"open-menu"

"open-menu": {
  id: string;
};

"open-url"

"open-url": {
  destinationUrl: string;
};

"pack-shapes"

"pack-shapes": null;

"remove-frame"

"remove-frame": null;

"rename-document"

"rename-document": null;

"rename-page"

"rename-page": null;

"reorder-shapes"

"reorder-shapes": {
  operation: "backward" | "forward" | "toBack" | "toFront";
};

"replace-media"

"replace-media": null;

"reset-zoom"

"reset-zoom": null;

"rich-text"

"rich-text": {
  operation:
    | "bold"
    | "bulletList"
    | "heading"
    | "link-edit"
    | "link-remove"
    | "link-visit"
    | "link"
    | "strike";
};

"rotate-ccw"

"rotate-ccw": {
  fine: boolean;
};

"rotate-cw"

"rotate-cw": {
  fine: boolean;
};

"save-project-to-file"

"save-project-to-file": null;

"select-adjacent-shape"

"select-adjacent-shape": {
  direction: "down" | "left" | "next" | "prev" | "right" | "up";
};

"select-all-shapes"

"select-all-shapes": null;

"select-none-shapes"

"select-none-shapes": null;

"select-tool"

"select-tool": {
  id: string;
};

"set-alt-text"

"set-alt-text": null;

"set-color"

"set-color": null;

"set-style"

"set-style": {
  id: string;
  value: number | string;
};

"shrink-shapes"

"shrink-shapes": null;

"stack-shapes"

"stack-shapes": {
  operation: "horizontal" | "vertical";
};

"start-following"

"start-following": null;

"stop-following"

"stop-following": null;

"stretch-shapes"

"stretch-shapes": {
  operation: "horizontal" | "vertical";
};

"toggle-auto-size"

"toggle-auto-size": null;

"toggle-debug-mode"

"toggle-debug-mode": null;

"toggle-dynamic-size-mode"

"toggle-dynamic-size-mode": null;

"toggle-edge-scrolling"

"toggle-edge-scrolling": null;

"toggle-focus-mode"

"toggle-focus-mode": null;

"toggle-grid-mode"

"toggle-grid-mode": null;

"toggle-invert-zoom"

"toggle-invert-zoom": null;

"toggle-keyboard-shortcuts"

"toggle-keyboard-shortcuts": null;

"toggle-lock"

"toggle-lock": null;

"toggle-paste-at-cursor"

"toggle-paste-at-cursor": null;

"toggle-reduce-motion"

"toggle-reduce-motion": null;

"toggle-snap-mode"

"toggle-snap-mode": null;

"toggle-tool-lock"

"toggle-tool-lock": null;

"toggle-transparent"

"toggle-transparent": null;

"toggle-wrap-mode"

"toggle-wrap-mode": null;

"ungroup-shapes"

"ungroup-shapes": null;

"unlock-all"

"unlock-all": null;

"video-replace"

"video-replace": null;

"zoom-in"

"zoom-in": {
  towardsCursor: boolean;
};

"zoom-into-view"

"zoom-into-view": null;

"zoom-out"

"zoom-out": {
  towardsCursor: boolean;
};

"zoom-to-content"

"zoom-to-content": null;

"zoom-to-fit"

"zoom-to-fit": null;

"zoom-to-selection"

"zoom-to-selection": null;

"zoom-tool"

"zoom-tool": null;

copy

copy: null;

cut

cut: null;

edit

edit: null;

paste

paste: null;

print

print: null;

redo

redo: null;

undo

undo: null;

Prev
TLUiDropdownMenuTriggerProps
Next
TLUiHelperButtonsProps