Skip to content
Are you an LLM? You can read better optimized documentation at /docs/aeria-ui/components/aeria-context-menu.md for this page in Markdown format
aeria-context-menu
This component is used to render a context menu that shows when a trigger is clicked.
Example
Will render a "Click me" label that, when clicked, will pop over a context menu with two actions as per specified in the props.
template
<aeria-context-menu
:actions="[
{
label: 'Edit',
icon: 'pencil',
click: () => null
},
{
label: 'Delete',
icon: 'trash',
click: () => null
},
]"
>
Click me
</aeria-context-menu>