Skip to content

ContextMenu ​

Overview ​

The root provider for a context menu.

Props ​

NameTypeRequiredDefaultDescription
dirstringundefinedThe reading direction of the menu.
modalbooleanundefinedWhen true, interaction with outside elements will be disabled.
pressOpenDelaynumberundefinedThe duration in ms from when the trigger is pressed until the menu opens.

Slots ​

default ​

Slot.

Events ​

NameDescription
update:openEmitted when the open state changes.

Full event reference

Source ​

client/lib/navigation/context-menu/ContextMenu.vue