Menubar
Overview
A horizontal menu bar containing a set of menus.
Theme entry: Menubar
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| modelValue | string | undefined | The controlled value of the open menu. | |
| defaultValue | string | undefined | The value of the menu that should be open when initially rendered. | |
| dir | string | undefined | The reading direction of the menubar. | |
| loop | boolean | undefined | When true, keyboard navigation will loop from last item to first, and vice versa. |
Slots
default
Scoped slot.
Events
| Name | Description |
|---|---|
update:modelValue | Emitted when the value changes. |
Source
client/lib/navigation/menubar/Menubar.vue