@mocanvas/editor · interface

TLUiActionItem

interface TLUiActionItem

One entry in the UI action list — undo, delete, group, and friends.


Methods · 1

onSelect(source?: TLUiEventSource): void

Properties · 7

disabled?: boolean
icon?: string
id: string
kbd?: string
label: string
meta?: Record<string, unknown>
readonlyOk?: boolean

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.