@mocanvas/editor · type

TLActionShortcutsLocation

type TLActionShortcutsLocation = 
/** Always in the menu panel. */
"menu"
/** Always in the toolbar. */
 | "toolbar"
/** Menu panel on tablet-sized screens and up, toolbar below that. */
 | "swap"

Where the quick actions (undo, redo, delete, duplicate) render.

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.