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

# ContextMenuSub

## Overview

The root provider for a context submenu.

## Props

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="prop-open">open</span> | `boolean` |  | `undefined` | The controlled open state of the submenu. |
| <span id="prop-defaultOpen">defaultOpen</span> | `boolean` |  | `undefined` | The open state of the submenu when initially rendered. |

## Slots

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

Slot.

## Events

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

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

## Source

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