---
url: "https://vueda.dev/v3/reference/api/vue/ContextMenu.md"
title: "ContextMenu"
---

# ContextMenu

## Overview

The root provider for a context menu.

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-dir">dir</span> | `string` |  | `undefined` | The reading direction of the menu. |
| <span id="prop-modal">modal</span> | `boolean` |  | `undefined` | When true, interaction with outside elements will be disabled. |
| <span id="prop-pressOpenDelay">pressOpenDelay</span> | `number` |  | `undefined` | The duration in ms from when the trigger is pressed until the menu opens. |

## Slots

### `default` {#slot-default}

Slot.

## Events

| Name | Description |
| --- | --- |
| `update:open` | Emitted when the open state changes. |

[Full event reference](/v3/reference/api/vue/ContextMenu/events.md)

## Source

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