TLUiEventMap

See source code
Table of contents
interface TLUiEventMap {}

Properties

"align-shapes"

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

"change-language"

'change-language': {
  locale: string
}

"change-page"

'change-page': null

"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'
}

"duplicate-page"

'duplicate-page': null

"duplicate-shapes"

'duplicate-shapes': null

'edit-link': 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

"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-cursor-chat"

'open-cursor-chat': null

'open-embed-link': null

"open-file"

'open-file': null

"open-menu"

'open-menu': {
  id: string
}

"open-url"

'open-url': {
  url: 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'
}

"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': null

"rotate-cw"

'rotate-cw': null

"save-project-to-file"

'save-project-to-file': null

"select-all-shapes"

'select-all-shapes': null

"select-none-shapes"

'select-none-shapes': null

"select-tool"

'select-tool': {
  id: string
}

"set-color"

'set-color': null

"set-style"

'set-style': {
  id: string
  value: number | string
}

"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-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

"zoom-in"

'zoom-in': null

"zoom-into-view"

'zoom-into-view': null

"zoom-out"

'zoom-out': null

"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

paste

paste: null

print

print: null

redo

redo: null

undo

undo: null

Prev
TLUiDropdownMenuTriggerProps
Next
TLUiHelperButtonsProps