Type Editor / @type-editor/menu / types/MenuBarOptions / MenuBarOptions
Interface: MenuBarOptions
Defined in: packages/menu/src/types/MenuBarOptions.ts:6
Configuration options for the menu bar plugin.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
content | readonly readonly MenuElement[][] | Provides the content of the menu, as a nested array to be passed to renderGrouped. | packages/menu/src/types/MenuBarOptions.ts:12 |
floating? | boolean | Determines whether the menu floats, i.e. whether it sticks to the top of the viewport when the editor is partially scrolled out of view. Default false | packages/menu/src/types/MenuBarOptions.ts:21 |
isLegacy? | boolean | Backward compatibility flag to enable legacy menu rendering. | packages/menu/src/types/MenuBarOptions.ts:31 |
showLabel? | boolean | Determines whether to show labels for menu items (if applicable, e.g. in DropdownMenu). | packages/menu/src/types/MenuBarOptions.ts:26 |