Components
BaseMenu
A floating panel opened from an activator, with optional header and footer. It wraps v-menu.
components/ui/BaseMenu.vue
View in the demo
Example
The menu stays open when you click inside it, so it works for small forms and settings. For a list of options use BaseMenuOptions.
API
It also accepts every prop, slot and event of v-menu, which it passes through.
Props
Name | Type | Default | Description |
|---|---|---|---|
offset | BaseMenuOffset | DEFAULT_MENU_OFFSET | Distance from the activator. |
compact | boolean | — | Removes the vertical padding around the content. |
flush | boolean | — | Removes all padding around the content, for lists whose rows reach the edges (such as the notifications menu). |
Slots
Name | Slot props | Description |
|---|---|---|
#header | — | Content above a divider. |
#default | — | The body of the menu. |
#footer | — | Content below a divider, usually actions. |