Skip to content

DropdownMenu ​

Overview ​

The root provider for a dropdown menu.

Props ​

NameTypeRequiredDefaultDescription
openbooleanundefinedThe controlled open state of the menu.
defaultOpenbooleanundefinedThe open state of the dropdown menu when initially rendered.
dirstringundefinedThe reading direction of the menu.
modalbooleanundefinedWhen true, interaction with outside elements will be disabled.

Slots ​

default ​

Scoped slot.

Events ​

NameDescription
update:openEmitted when the open state changes.

Full event reference

Source ​

client/lib/navigation/dropdown-menu/DropdownMenu.vue