TLUiEventMap
See source codeTable of contents
- "align-shapes"
- "change-language"
- "change-page"
- "change-user-name"
- "close-menu"
- "color-scheme"
- "convert-to-bookmark"
- "convert-to-embed"
- "copy-as"
- "copy-link"
- "create-new-project"
- "delete-page"
- "delete-shapes"
- "distribute-shapes"
- "duplicate-page"
- "duplicate-shapes"
- "edit-link"
- "exit-pen-mode"
- "export-all-as"
- "export-as"
- "fit-frame-to-content"
- "flatten-to-image"
- "flip-shapes"
- "group-shapes"
- "insert-embed"
- "insert-media"
- "move-page"
- "move-to-new-page"
- "move-to-page"
- "new-page"
- "open-cursor-chat"
- "open-embed-link"
- "open-file"
- "open-menu"
- "open-url"
- "pack-shapes"
- "remove-frame"
- "rename-document"
- "rename-page"
- "reorder-shapes"
- "reset-zoom"
- "rotate-ccw"
- "rotate-cw"
- "save-project-to-file"
- "select-all-shapes"
- "select-none-shapes"
- "select-tool"
- "set-color"
- "set-style"
- "stack-shapes"
- "start-following"
- "stop-following"
- "stretch-shapes"
- "toggle-auto-size"
- "toggle-debug-mode"
- "toggle-dynamic-size-mode"
- "toggle-edge-scrolling"
- "toggle-focus-mode"
- "toggle-grid-mode"
- "toggle-lock"
- "toggle-paste-at-cursor"
- "toggle-reduce-motion"
- "toggle-snap-mode"
- "toggle-tool-lock"
- "toggle-transparent"
- "toggle-wrap-mode"
- "ungroup-shapes"
- "unlock-all"
- "zoom-in"
- "zoom-into-view"
- "zoom-out"
- "zoom-to-content"
- "zoom-to-fit"
- "zoom-to-selection"
- "zoom-tool"
- copy
- cut
- paste
- redo
- undo
- Properties
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"
'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"
'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"
'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
"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: null
redo
redo: null
undo
undo: null
Prev
TLUiDropdownMenuTriggerPropsNext
TLUiHelperButtonsProps