@mocanvas/mocanvas · type
type TLUiMenuContextType =
/** A vertical list of rows: the main menu, the help menu. */
"menu"
/** The right-click menu. Same shape as `menu`; kept apart so items can differ. */
| "context-menu"
/** A grid of icon-only buttons: the actions menu. */
| "small-icons"
/** A row of icon buttons: the quick actions. */
| "icons"
/** Read-only rows in the keyboard shortcuts dialog. */
| "keyboard-shortcuts"
/** The helper buttons above the toolbar. */
| "helper-buttons"
/** The tool bar. */
| "toolbar"
/** A panel's own layout, e.g. the style panel. */
| "panel"Where a menu item is being rendered.
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.