DropdownMenu
Overview
The root provider for a dropdown menu.
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| open | boolean | undefined | The controlled open state of the menu. | |
| defaultOpen | boolean | undefined | The open state of the dropdown menu when initially rendered. | |
| dir | string | undefined | The reading direction of the menu. | |
| modal | boolean | undefined | When true, interaction with outside elements will be disabled. |
Slots
default
Scoped slot.
Events
| Name | Description |
|---|---|
update:open | Emitted when the open state changes. |
Source
client/lib/navigation/dropdown-menu/DropdownMenu.vue