Context Menu
Displays a menu to the user—such as a set of actions or functions—triggered by right-clicking.
Basic Usage
Wrap any area with MayaContextMenu. Right-clicking inside the area will trigger the menu exactly at the cursor coordinates.
Right click here
MayaContextMenu API
| Prop / Event | Type | Default | Description |
|---|---|---|---|
#default | Slot | — | The wrapping element. Right-clicking within this area opens the context menu. |
#menu | Slot | — | The content (dropdown items) of the context menu. |